diff options
| author | Travis Fischer <[email protected]> | 2021-06-02 13:59:27 -0400 |
|---|---|---|
| committer | Travis Fischer <[email protected]> | 2021-06-02 13:59:27 -0400 |
| commit | f6321fc3249d83a0059ef47978ed101d3c75375f (patch) | |
| tree | 9da8b59a0c94c08f92506e57653b8c9f55fa85e8 /webpack.config.js | |
| download | cf-image-proxy-f6321fc3249d83a0059ef47978ed101d3c75375f.tar.xz cf-image-proxy-f6321fc3249d83a0059ef47978ed101d3c75375f.zip | |
feat: import from notion2site repo
Diffstat (limited to 'webpack.config.js')
| -rw-r--r-- | webpack.config.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/webpack.config.js b/webpack.config.js new file mode 100644 index 0000000..8ea63a0 --- /dev/null +++ b/webpack.config.js @@ -0,0 +1,11 @@ +'use strict' + +const { EnvironmentPlugin } = require('webpack') +const pick = require('lodash.pick') + +module.exports = { + target: 'webworker', + entry: './src/index.js', + devtool: 'cheap-source-map', + plugins: [new EnvironmentPlugin(pick(process.env, ['NODE_ENV']))] +} |