Current Folder
This commit is contained in:
1 parent
8b3382289b
commit
cfcada880d
4379 files changed
No files matched your search
-21
@@ -1,21 +0,0 @@
|
||||
const path = require('path')
|
||||
const fs = require('fs')
|
||||
const webpack = require('webpack')
|
||||
|
||||
const version = fs.readFileSync('./build/version.txt', 'utf8')
|
||||
|
||||
module.exports = {
|
||||
entry: './src/entry.js',
|
||||
target: 'node',
|
||||
output: {
|
||||
path: path.resolve(__dirname, 'dist'),
|
||||
filename: 'oboe-node.js',
|
||||
library: 'oboe',
|
||||
libraryTarget: 'umd2',
|
||||
libraryExport: 'default',
|
||||
umdNamedDefine: true
|
||||
},
|
||||
plugins: [
|
||||
new webpack.BannerPlugin(version)
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user