wisemapping-frontend/packages/core-js/webpack.common.js

28 lines
443 B
JavaScript
Raw Normal View History

2021-10-03 04:52:56 +02:00
const path = require('path');
module.exports = {
2022-07-13 03:58:11 +02:00
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'core.js',
publicPath: '',
library: {
type: 'umd',
2021-07-16 16:41:58 +02:00
},
2022-07-13 03:58:11 +02:00
},
target: 'web',
optimization: {
usedExports: true,
},
module: {
rules: [
{
use: 'babel-loader',
test: /.js$/,
exclude: [/node_modules/],
},
],
},
resolve: {
extensions: ['.js'],
2023-01-05 03:17:01 +01:00
}
2021-07-16 16:41:58 +02:00
};