16 lines
342 B
JavaScript
16 lines
342 B
JavaScript
|
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/"),
|
||
|
}
|
||
|
};
|