You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 29, 2019. It is now read-only.
I have added to my wepback.common manifest in a typical webpack build using different configurations of loaders, but I think the issue has to do with webpack not reading this plugin properly
plugins: [
new ExtractTextPlugin("main.css") //also as {filename:"main.css", allChunks: true},
],
The webpack error is
Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
- configuration.plugins[0] should be one of these:
object { apply, ... } | function
-> Plugin of type object or instanceof Function
Details:
* configuration.plugins[0] misses the property 'apply'.
function
-> The run point of the plugin, required method.
* configuration.plugins[0] misses the property 'apply'.
function
-> The run point of the plugin, required method.
* configuration.plugins[0] should be an instance of function
-> Function acting as plugin
when logging the const that I import using require I see the extractText function when I log it. It would appear this import does not satisfy, Function acting as plugin, though it does have a new instance on it
The text was updated successfully, but these errors were encountered:
I found out that the issue is that I was using deepmerge dependency, webpack-merge seems to be an up to date alternative dependency https://github.com/survivejs/webpack-merge
I have added to my wepback.common manifest in a typical webpack build using different configurations of loaders, but I think the issue has to do with webpack not reading this plugin properly
The webpack error is
when logging the const that I import using require I see the extractText function when I log it. It would appear this import does not satisfy, Function acting as plugin, though it does have a
new
instance on itThe text was updated successfully, but these errors were encountered: