Goodnight> Add config UI WIP + framework libs
This commit is contained in:
@@ -3,11 +3,31 @@ const path = require("path")
|
||||
module.exports = {
|
||||
entry: {
|
||||
background: "./background/background.js",
|
||||
popup: "./popup/popup.js"
|
||||
popup: "./popup/popup.js",
|
||||
options: "./options/options.js"
|
||||
},
|
||||
output: {
|
||||
path: path.resolve(__dirname, "addon"),
|
||||
filename: "[name]/[name].js"
|
||||
},
|
||||
mode: "none"
|
||||
mode: "none",
|
||||
watch: true,
|
||||
watchOptions: {
|
||||
ignored: '**/node_modules',
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.s[ac]ss$/i,
|
||||
use: [
|
||||
// Creates `style` nodes from JS strings
|
||||
"style-loader",
|
||||
// Translates CSS into CommonJS
|
||||
"css-loader",
|
||||
// Compiles Sass to CSS
|
||||
"sass-loader",
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user