mirror of
https://github.com/Fabio286/antares.git
synced 2024-12-18 19:54:19 +01:00
28 lines
588 B
JavaScript
28 lines
588 B
JavaScript
const webpack = require('webpack');
|
|
|
|
module.exports = {
|
|
stats: 'errors-warnings',
|
|
plugins: [
|
|
new webpack.DefinePlugin({
|
|
'process.env': {
|
|
PACKAGE_VERSION: JSON.stringify(require('./package.json').version)
|
|
}
|
|
})
|
|
],
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.scss$/,
|
|
use: [
|
|
{
|
|
loader: 'sass-loader',
|
|
options: {
|
|
additionalData: '@import "@/scss/_variables.scss";'
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
};
|