UNPKG

jingtum-lib

Version:

jingtum lib

18 lines (16 loc) 369 B
const path = require('path'); const pkg = require('./package.json'); module.exports = { mode: "development", cache: false, devServer: { contentBase: path.resolve(__dirname, 'dist'), compress: true }, entry: "./index.js", output: { library: "jingtum_lib", path: path.resolve(__dirname, "dist"), filename: ["jingtum-lib-", ".js"].join(pkg.version) } };