diff options
Diffstat (limited to 'projects/text_to_speech/webpack.config.js')
-rw-r--r-- | projects/text_to_speech/webpack.config.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/projects/text_to_speech/webpack.config.js b/projects/text_to_speech/webpack.config.js new file mode 100644 index 00000000..0b984592 --- /dev/null +++ b/projects/text_to_speech/webpack.config.js @@ -0,0 +1,20 @@ +const path = require('path'); +const webpack = require('webpack'); + +module.exports = { + mode: 'production', + entry: { + server: './index.js', + }, + output: { + path: path.join(__dirname, 'build'), + filename: 'index.js' + }, + module: { + rules: [ + { + exclude: /node_modules/ + } + ] + } +};
\ No newline at end of file |