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

25 lines
341 B
JavaScript

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