Skip to content

Instantly share code, notes, and snippets.

@bronson
Created September 9, 2017 01:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bronson/c9712eed7bb02f8c645ebb496c190c33 to your computer and use it in GitHub Desktop.
Save bronson/c9712eed7bb02f8c645ebb496c190c33 to your computer and use it in GitHub Desktop.
// currently:
entry: {
content: './src/content.js',
'hot-reload': './src/hot-reload.js',
manifest: './src/manifest.json',
popup: './src/popup.js'
},
output: {
path: path.resolve(__dirname, 'dist'),
filename: '[name].bundle.js'
},
// problem is, src/manifest.json turns into dist/manifest.bundle.js
// how do I keep processing the .js files the same way, but have dist/manifest.json ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment