2021-12-11 08:10:12 +00:00
|
|
|
|
2021-01-28 09:01:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
module.exports = {
|
2021-12-09 08:59:44 +00:00
|
|
|
mode: 'development',
|
2021-01-28 09:01:16 +00:00
|
|
|
entry: './src/StructV.ts',
|
|
|
|
output: {
|
|
|
|
filename: './sv.js',
|
|
|
|
libraryTarget: 'umd'
|
|
|
|
},
|
|
|
|
resolve: {
|
|
|
|
extensions: ['.ts', '.js']
|
|
|
|
},
|
|
|
|
module: {
|
|
|
|
rules: [
|
|
|
|
{
|
|
|
|
test: /\.ts$/,
|
|
|
|
exclude: /node_modules/,
|
2021-12-09 08:59:44 +00:00
|
|
|
loader: 'ts-loader'
|
2021-01-28 09:01:16 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2021-12-11 08:10:12 +00:00
|
|
|
devtool: 'eval-source-map'
|
2021-01-28 09:01:16 +00:00
|
|
|
};
|