interpolate-html-plugin icon indicating copy to clipboard operation
interpolate-html-plugin copied to clipboard

TypeError: Cannot read property 'compilation' of undefined

Open jose920405 opened this issue 6 years ago • 4 comments

const InterpolateHtmlPlugin = require('interpolate-html-plugin');

new InterpolateHtmlPlugin({
    'NODE_ENV': 'development'
  }),

jose920405 avatar Aug 30 '18 14:08 jose920405

  • What is the webpack version ?
  • What is the interpolate-html-plugin version ?
  • Can you share with us your current webpack config ?

iliasbhal avatar Oct 18 '18 12:10 iliasbhal

same Question: webpack version:^3.6.0 "interpolate-html-plugin": "^3.0.0",

melunar avatar May 10 '19 08:05 melunar

PS: Then I try to change 'interpolate-html-plugin' version down to '2.0.0', the project can build as normal.

melunar avatar May 10 '19 08:05 melunar

I have a problem same it. can anyone resolved this?

huykon avatar Jun 02 '19 14:06 huykon