replace-task-webpack-plugin
A gulp-replace-task port to webpack
Usage
To replace all @@foo
to bar
, and replace all /baz/
to bazbaz
.
// webpack.config.jsmoduleexports = // ... other configs plugins: patterns: match: 'foo' replacement: 'bar' match: /baz/g { return 'bazbaz'; } ;
Also see
License
MIT