antares/webpack.config.js

28 lines
557 B
JavaScript
Raw Normal View History

2020-05-30 19:07:34 +02:00
const webpack = require('webpack');
2020-05-07 17:45:04 +02:00
module.exports = {
2020-05-30 19:07:34 +02:00
plugins: [
new webpack.DefinePlugin({
'process.env': {
PACKAGE_VERSION: JSON.stringify(require('./package.json').version)
}
})
],
2020-05-08 18:02:18 +02:00
module: {
rules: [
{
test: /\.scss$/,
use: [
{
loader: 'sass-loader',
options: {
prependData: '@import "@/scss/_variables.scss";'
}
}
]
}
]
}
2020-05-07 17:45:04 +02:00
};