mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-04 21:15:47 +00:00
15 lines
423 B
JavaScript
15 lines
423 B
JavaScript
const path = require('path')
|
|
const webpack = require('webpack')
|
|
const { merge } = require('webpack-merge')
|
|
const { getDefaultConfiguration } = require('../../webpack.config')
|
|
|
|
module.exports = merge(getDefaultConfiguration(), {
|
|
entry: './dist/npm/index.js',
|
|
// overriding the output path and filename
|
|
output: {
|
|
library: 'xahau',
|
|
path: path.join(__dirname, 'build/'),
|
|
filename: `xahau.default.js`,
|
|
},
|
|
})
|