forked from webpack-contrib/extract-text-webpack-plugin
-
Notifications
You must be signed in to change notification settings - Fork 27
could this update "webpack"-- to-- "2.2.0", #22
Copy link
Copy link
Open
Description
hi:
I use webpack "webpack": "2.2.0", I debug the loader.js, found code dont accept the 'id', and the options is '{}'
{ test: /\.(ts|js)$/, exclude: /node_modules/, use: [{ loader: StringReplacePlugin.replace(null,{ replacements: [{ pattern: /{{(.+Api)}}/g, replacement: function(match, p1, offset, string) { // console.log(arguments); // return 'tsestttt' // return secrets.web[p1]; } }] }), options: { importLoaders: 1 } }] },
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels