22 lines
381 B
JavaScript
22 lines
381 B
JavaScript
|
'use strict'
|
||
|
|
||
|
const path = require('path')
|
||
|
|
||
|
module.exports = {
|
||
|
mode: 'development',
|
||
|
output: {
|
||
|
path: path.resolve(__dirname, 'dist'),
|
||
|
filename: '[name].js'
|
||
|
},
|
||
|
node: {
|
||
|
__dirname: false,
|
||
|
__filename: false
|
||
|
},
|
||
|
resolve: {
|
||
|
extensions: ['.tsx', '.ts', '.js', '.json']
|
||
|
},
|
||
|
devtool: 'source-map',
|
||
|
plugins: [
|
||
|
]
|
||
|
}
|