web -> desktop
This commit is contained in:
16
build/webpack.app.config.js
Normal file
16
build/webpack.app.config.js
Normal file
@ -0,0 +1,16 @@
|
||||
const path = require("path");
|
||||
const merge = require("webpack-merge");
|
||||
const base = require("./webpack.base.config");
|
||||
|
||||
module.exports = env => {
|
||||
return merge(base(env), {
|
||||
entry: {
|
||||
background: "./src/background/background.js",
|
||||
app: "./src/app/index.js"
|
||||
},
|
||||
output: {
|
||||
filename: "[name].js",
|
||||
path: path.resolve(__dirname, "../app")
|
||||
}
|
||||
});
|
||||
};
|
Reference in New Issue
Block a user