This repository has been archived on 2022-11-26. You can view files and clone it, but cannot push or open issues or pull requests.
|
const path = require('path')
|
|
|
|
module.exports = (env) => {
|
|
return {
|
|
entry: './src/index.js',
|
|
output: {
|
|
path: path.resolve(__dirname, 'lib'),
|
|
filename: 'qplanets.js'
|
|
},
|
|
module: {},
|
|
devtool: env.mode === 'development' ? 'inline-source-map' : ''
|
|
}
|
|
}
|