fanzine/webpack.config.js

16 lines
342 B
JavaScript
Raw Normal View History

2022-03-29 13:23:10 +00:00
import path from 'path';
import { fileURLToPath } from 'url';
const __dirname = path.dirname(fileURLToPath(import.meta.url));
export default {
entry: {
main: "./lib/es6/src/main.bs.js",
},
mode: 'production',
output: {
filename: "fanzine.js",
path: path.resolve(__dirname, "static/popup/"),
}
};