virtual-module-webpack-plugin
virtual-module-webpack-plugin copied to clipboard
Adds the contents of a virtual file to webpack's cached file system without writing it to disk
this is an awesome plugin!
```javascript const webpackConfig = { entry: "/path/to/virtual/file/module.js", plugins:[ new VirtualModulePlugin({ moduleName: "/path/to/virtual/file/module.js", contents: `// here is the javascript code` }) ] } ```
Great job, This plugin works great, and I really like it. I'm stuck in making this plugin works with watch mode. The use case is: 1) we get programmatically source...
This project would benefit from automated tests that could automatically run against different versions of webpack. Need to look into techniques for doing that. Any suggestions are welcome. It looks...
It looks like I copied the webpack 1.x example from a webpack 2 beta example. I'm in the process of getting a real webpack 1 example working again.