Alexey Velikiy
7 years ago
4 changed files with 41403 additions and 1187 deletions
@ -0,0 +1,29 @@
|
||||
const path = require('path'); |
||||
const fs = require('fs'); |
||||
|
||||
const webpack = require('webpack'); |
||||
|
||||
|
||||
module.exports = { |
||||
mode: 'production', |
||||
target: 'node', |
||||
node: { |
||||
__dirname: false, |
||||
__filename: false, |
||||
}, |
||||
entry: [ 'babel-polyfill', './dist/server.js' ], |
||||
output: { |
||||
filename: "server-6-14.js", |
||||
path: path.join(__dirname, '../dist') |
||||
}, |
||||
module: { |
||||
rules: [ |
||||
{ |
||||
test: /\.js$/, |
||||
use: [ |
||||
{ loader: 'babel-loader' } |
||||
] |
||||
} |
||||
] |
||||
} |
||||
} |
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue