{"id":68294,"date":"2016-12-16T16:17:13","date_gmt":"2016-12-16T16:17:13","guid":{"rendered":"http:\/\/webkul.com\/blog\/?p=68294"},"modified":"2017-01-02T12:40:40","modified_gmt":"2017-01-02T12:40:40","slug":"use-webpack-prestashop-1-7-classic-theme","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/use-webpack-prestashop-1-7-classic-theme\/","title":{"rendered":"How to use Webpack in PrestaShop 1.7 Classic theme"},"content":{"rendered":"<p><strong>How to use Webpack in PrestaShop 1.7 Classic theme<\/strong><\/p>\n<p>PrestaShop 1.7 is using <a href=\"https:\/\/webpack.github.io\/\">Webpack Module Bundler<\/a>\u00a0to manage assets in PrestaShop front.\u00a0Webpack takes modules with dependencies and generates static assets representing those modules.<\/p>\n<p>Before installing Webpack you have to install <a href=\"https:\/\/nodejs.org\">node.js<\/a>\u00a0.<\/p>\n<p>Now, Using npm\u00a0package manager you can install Webpack.<\/p>\n<p>Install Webpack in\u00a0PrestaShop\/themes\/classic\/_dev folder.<\/p>\n<p>After successful\u00a0installation\u00a0of Webpack, you need to install some modules of Webpack.<\/p>\n<pre class=\"brush:shell\">$ npm install --save-dev style-loader\r\n\r\n$ npm install --save-dev css-loader\r\n\r\n$ npm install --save-dev babel-loader\r\n\r\n$ npm install --save-dev postcss-loader<\/pre>\n<p>After installing these modules you can see the folder &#8216;node_modules&#8217; in your _dev folder.<\/p>\n<p>In _dev folder there is a file &#8216;webpack.config.js&#8217; which is having the configuration for webpack.<\/p>\n<pre class=\"brush:php\">var webpack = require('webpack');\r\nvar path = require('path');\r\nvar ExtractTextPlugin = require(\"extract-text-webpack-plugin\");\r\n\r\nvar plugins = [];\r\n\r\nvar production = false;\r\n\r\nif (production) {\r\n  plugins.push(\r\n    new webpack.optimize.UglifyJsPlugin({\r\n      compress: {\r\n        warnings: false\r\n      }\r\n    })\r\n  );\r\n}\r\n\r\nplugins.push(\r\n  new ExtractTextPlugin(\r\n    path.join(\r\n      '..', 'css', 'theme.css'\r\n    )\r\n  )\r\n);\r\n\r\nmodule.exports = {\r\n  entry: [\r\n    '.\/js\/theme.js'\r\n  ],\r\n  output: {\r\n    path: '..\/assets\/js',\r\n    filename: 'theme.js'\r\n  },\r\n  module: {\r\n    loaders: [{\r\n      test: \/\\.js$\/,\r\n      exclude: \/node_modules\/,\r\n      loaders: ['babel-loader']\r\n    }, {\r\n      test: \/\\.scss$\/,\r\n      loader: ExtractTextPlugin.extract(\r\n        \"style\",\r\n        \"css?sourceMap!postcss!sass?sourceMap\"\r\n      )\r\n    }, {\r\n      test: \/.(png|woff(2)?|eot|ttf|svg)(\\?[a-z0-9=\\.]+)?$\/,\r\n      loader: 'file-loader?name=..\/css\/[hash].[ext]'\r\n    }, {\r\n      test: \/\\.css$\/,\r\n      loader: \"style-loader!css-loader!postcss-loader\"\r\n    }]\r\n  },\r\n  postcss: function() {\r\n    return [require('postcss-flexibility')];\r\n  },\r\n  externals: {\r\n    prestashop: 'prestashop'\r\n  },\r\n  devtool: 'source-map',\r\n  plugins: plugins,\r\n  resolve: {\r\n    extensions: ['', '.js', '.scss']\r\n  }\r\n};<\/pre>\n<p>Now create your js or css file in _dev\/css\u00a0or _dev\/js file,<\/p>\n<p>Now, run these command to create compiled file in assets\/css and assets\/js file,<\/p>\n<p>In the directory, _dev run these commands,<\/p>\n<p>To build your assets once<\/p>\n<pre class=\"brush:shell\">$ npm run build<\/pre>\n<p>&nbsp;<\/p>\n<p>To rebuild your assets every time you change a file in the _dev folder<\/p>\n<pre class=\"brush:shell\">$ npm run watch<\/pre>\n<p>You can see now the compiled file in your assets\/css or js folder.<\/p>\n<p>Troubleshoot\u00a0while run these commands,<\/p>\n<p>Error :: Module build failed: ReferenceError: Promise is not defined<\/p>\n<ul>\n<li>Check your node version, Try to install, 7.2.0<\/li>\n<li>\n<pre class=\"brush:shell\">$ npm install es6-promise --save<\/pre>\n<\/li>\n<\/ul>\n<p>and then added require(&#8216;es6-promise&#8217;).polyfill() at the top of webpack.config.js.<\/p>\n<p>Reference ::\u00a0<a href=\"http:\/\/developers.prestashop.com\/themes\/assets\/index.html#about-webpack\" target=\"_blank\">http:\/\/developers.prestashop.com\/themes\/assets\/index.html#about-webpack<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to use Webpack in PrestaShop 1.7 Classic theme PrestaShop 1.7 is using Webpack Module Bundler\u00a0to manage assets in PrestaShop front.\u00a0Webpack takes modules with dependencies and generates static assets representing those modules. Before installing Webpack you have to install node.js\u00a0. Now, Using npm\u00a0package manager you can install Webpack. Install Webpack in\u00a0PrestaShop\/themes\/classic\/_dev folder. After successful\u00a0installation\u00a0of Webpack, <a href=\"https:\/\/webkul.com\/blog\/use-webpack-prestashop-1-7-classic-theme\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":19,"featured_media":67011,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[209],"tags":[4098,4184],"class_list":["post-68294","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-prestashop","tag-prestashop-v1-7","tag-webpack"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to use Webpack in PrestaShop 1.7 Classic theme<\/title>\n<meta name=\"description\" content=\"Use Webpack bundler in Prestashop 1.7 compile all your styles and js and create a single file which can load in front. Install node.js for Webpack.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/use-webpack-prestashop-1-7-classic-theme\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to use Webpack in PrestaShop 1.7 Classic theme\" \/>\n<meta property=\"og:description\" content=\"Use Webpack bundler in Prestashop 1.7 compile all your styles and js and create a single file which can load in front. Install node.js for Webpack.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/use-webpack-prestashop-1-7-classic-theme\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-12-16T16:17:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-01-02T12:40:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/12\/Prestashop-Code-Snippet-1.7.png\" \/>\n\t<meta property=\"og:image:width\" content=\"825\" \/>\n\t<meta property=\"og:image:height\" content=\"260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Dheeraj Sharma\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/dks295\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Dheeraj Sharma\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/use-webpack-prestashop-1-7-classic-theme\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/use-webpack-prestashop-1-7-classic-theme\/\"},\"author\":{\"name\":\"Dheeraj Sharma\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/a5f3da471d7cb80626232ba698343f6a\"},\"headline\":\"How to use Webpack in PrestaShop 1.7 Classic theme\",\"datePublished\":\"2016-12-16T16:17:13+00:00\",\"dateModified\":\"2017-01-02T12:40:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/use-webpack-prestashop-1-7-classic-theme\/\"},\"wordCount\":226,\"commentCount\":4,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/use-webpack-prestashop-1-7-classic-theme\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/12\/Prestashop-Code-Snippet-1.7.png\",\"keywords\":[\"PrestaShop V1.7\",\"Webpack\"],\"articleSection\":[\"prestashop\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/use-webpack-prestashop-1-7-classic-theme\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/use-webpack-prestashop-1-7-classic-theme\/\",\"url\":\"https:\/\/webkul.com\/blog\/use-webpack-prestashop-1-7-classic-theme\/\",\"name\":\"How to use Webpack in PrestaShop 1.7 Classic theme\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/use-webpack-prestashop-1-7-classic-theme\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/use-webpack-prestashop-1-7-classic-theme\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/12\/Prestashop-Code-Snippet-1.7.png\",\"datePublished\":\"2016-12-16T16:17:13+00:00\",\"dateModified\":\"2017-01-02T12:40:40+00:00\",\"description\":\"Use Webpack bundler in Prestashop 1.7 compile all your styles and js and create a single file which can load in front. Install node.js for Webpack.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/use-webpack-prestashop-1-7-classic-theme\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/use-webpack-prestashop-1-7-classic-theme\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/use-webpack-prestashop-1-7-classic-theme\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/12\/Prestashop-Code-Snippet-1.7.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/12\/Prestashop-Code-Snippet-1.7.png\",\"width\":825,\"height\":260},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/use-webpack-prestashop-1-7-classic-theme\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to use Webpack in PrestaShop 1.7 Classic theme\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/a5f3da471d7cb80626232ba698343f6a\",\"name\":\"Dheeraj Sharma\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/95497c38ac4e669f4042d356b0397dce21d1a90688eddd87cfde8ff771c40041?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/95497c38ac4e669f4042d356b0397dce21d1a90688eddd87cfde8ff771c40041?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Dheeraj Sharma\"},\"sameAs\":[\"http:\/\/webkul.com\",\"https:\/\/x.com\/https:\/\/twitter.com\/dks295\"],\"url\":\"https:\/\/webkul.com\/blog\/author\/dheeraj\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to use Webpack in PrestaShop 1.7 Classic theme","description":"Use Webpack bundler in Prestashop 1.7 compile all your styles and js and create a single file which can load in front. Install node.js for Webpack.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/webkul.com\/blog\/use-webpack-prestashop-1-7-classic-theme\/","og_locale":"en_US","og_type":"article","og_title":"How to use Webpack in PrestaShop 1.7 Classic theme","og_description":"Use Webpack bundler in Prestashop 1.7 compile all your styles and js and create a single file which can load in front. Install node.js for Webpack.","og_url":"https:\/\/webkul.com\/blog\/use-webpack-prestashop-1-7-classic-theme\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2016-12-16T16:17:13+00:00","article_modified_time":"2017-01-02T12:40:40+00:00","og_image":[{"width":825,"height":260,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/12\/Prestashop-Code-Snippet-1.7.png","type":"image\/png"}],"author":"Dheeraj Sharma","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/dks295","twitter_site":"@webkul","twitter_misc":{"Written by":"Dheeraj Sharma","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/use-webpack-prestashop-1-7-classic-theme\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/use-webpack-prestashop-1-7-classic-theme\/"},"author":{"name":"Dheeraj Sharma","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/a5f3da471d7cb80626232ba698343f6a"},"headline":"How to use Webpack in PrestaShop 1.7 Classic theme","datePublished":"2016-12-16T16:17:13+00:00","dateModified":"2017-01-02T12:40:40+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/use-webpack-prestashop-1-7-classic-theme\/"},"wordCount":226,"commentCount":4,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/use-webpack-prestashop-1-7-classic-theme\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/12\/Prestashop-Code-Snippet-1.7.png","keywords":["PrestaShop V1.7","Webpack"],"articleSection":["prestashop"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/use-webpack-prestashop-1-7-classic-theme\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/use-webpack-prestashop-1-7-classic-theme\/","url":"https:\/\/webkul.com\/blog\/use-webpack-prestashop-1-7-classic-theme\/","name":"How to use Webpack in PrestaShop 1.7 Classic theme","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/use-webpack-prestashop-1-7-classic-theme\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/use-webpack-prestashop-1-7-classic-theme\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/12\/Prestashop-Code-Snippet-1.7.png","datePublished":"2016-12-16T16:17:13+00:00","dateModified":"2017-01-02T12:40:40+00:00","description":"Use Webpack bundler in Prestashop 1.7 compile all your styles and js and create a single file which can load in front. Install node.js for Webpack.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/use-webpack-prestashop-1-7-classic-theme\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/use-webpack-prestashop-1-7-classic-theme\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/use-webpack-prestashop-1-7-classic-theme\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/12\/Prestashop-Code-Snippet-1.7.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/12\/Prestashop-Code-Snippet-1.7.png","width":825,"height":260},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/use-webpack-prestashop-1-7-classic-theme\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to use Webpack in PrestaShop 1.7 Classic theme"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/a5f3da471d7cb80626232ba698343f6a","name":"Dheeraj Sharma","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/95497c38ac4e669f4042d356b0397dce21d1a90688eddd87cfde8ff771c40041?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/95497c38ac4e669f4042d356b0397dce21d1a90688eddd87cfde8ff771c40041?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Dheeraj Sharma"},"sameAs":["http:\/\/webkul.com","https:\/\/x.com\/https:\/\/twitter.com\/dks295"],"url":"https:\/\/webkul.com\/blog\/author\/dheeraj\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/68294","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=68294"}],"version-history":[{"count":7,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/68294\/revisions"}],"predecessor-version":[{"id":70218,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/68294\/revisions\/70218"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media\/67011"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=68294"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=68294"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=68294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}