StructV2/webpack.config.product.js
2021-12-11 19:50:31 +08:00

22 lines
374 B
JavaScript

module.exports = {
entry: './src/StructV.ts',
output: {
filename: './sv.js',
libraryTarget: 'umd'
},
resolve: {
extensions: ['.ts', '.js']
},
module: {
rules: [
{
test: /\.ts$/,
exclude: /node_modules/,
loader: 'ts-loader'
}
]
}
};