2021-02-03 11:48:54 +01:00
|
|
|
const path = require("path")
|
2021-01-23 12:23:24 +01:00
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
entry: {
|
2021-02-03 11:48:54 +01:00
|
|
|
login : "./src/login.js",
|
2021-02-05 08:23:25 +01:00
|
|
|
content : "./src/content.js",
|
|
|
|
accountManager: "./src/AccountManager.js"
|
2021-02-03 11:48:54 +01:00
|
|
|
},
|
2021-02-03 20:01:33 +01:00
|
|
|
module: {
|
2021-01-23 12:23:24 +01:00
|
|
|
rules: [
|
2021-02-03 20:01:33 +01:00
|
|
|
{
|
|
|
|
//"allowJs": true,
|
|
|
|
test: /\.tsx?$/,
|
|
|
|
use: 'ts-loader',
|
|
|
|
exclude: /node_modules/,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
resolve: {
|
|
|
|
extensions: [ '.tsx' ,'.jsx', '.ts', '.js' ],
|
|
|
|
},
|
|
|
|
output: {
|
|
|
|
filename: '[name].js',
|
|
|
|
path: path.resolve(__dirname, "./static/frontend"),
|
|
|
|
},
|
|
|
|
};
|