16 lines
318 B
JavaScript
Raw Normal View History

2021-10-02 19:52:56 -07:00
const path = require('path');
const { merge } = require('webpack-merge');
const common = require('../../webpack.common');
const prodConfig = {
2022-07-12 18:58:11 -07:00
output: {
path: path.resolve(__dirname, 'dist'),
2023-02-10 02:51:52 +00:00
filename: 'index.ts',
2022-07-12 18:58:11 -07:00
library: {
type: 'umd',
2021-07-16 11:41:58 -03:00
},
2023-02-10 02:51:52 +00:00
}
2021-07-16 11:41:58 -03:00
};
module.exports = merge(common, prodConfig);