mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 20:30:33 +00:00
21 lines
415 B
JavaScript
21 lines
415 B
JavaScript
const path = require('path');
|
|
const webpack = require('webpack');
|
|
const dotenv = require('dotenv-webpack');
|
|
|
|
module.exports = {
|
|
webpack: {
|
|
plugins: [
|
|
new dotenv(),
|
|
new webpack.DefinePlugin({
|
|
'process.env': {
|
|
MONOREPO_VERSION: JSON.stringify(require('../../lerna.json').version),
|
|
},
|
|
}),
|
|
],
|
|
|
|
alias: {
|
|
'@': path.resolve(__dirname, 'src'),
|
|
},
|
|
},
|
|
};
|