diff --git a/webpack.config.js b/webpack.config.js index c008c27..fea27b5 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -15,8 +15,8 @@ module.exports = { }, output: { - filename: '[name].[chunkhash].js', - path: path.resolve(__dirname, 'extension'), + filename: 'js/[name].[chunkhash].js', + path: path.resolve(__dirname, 'extension', process.env.TARGET), }, plugins: [