You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
371 B
16 lines
371 B
const path = require("path")
|
|
|
|
const EsmWebpackPlugin = require("@purtuga/esm-webpack-plugin")
|
|
|
|
let config = {
|
|
entry: "./client/common-client-plugin.js",
|
|
output: {
|
|
path: path.resolve(__dirname, "./dist"),
|
|
filename: "./common-client-plugin.js",
|
|
library: "script",
|
|
libraryTarget: "var"
|
|
},
|
|
plugins: [new EsmWebpackPlugin()]
|
|
}
|
|
|
|
module.exports = config
|
|
|