1
1
mirror of https://github.com/Fabio286/antares.git synced 2024-12-19 04:04:31 +01:00
antares/webpack.config.js

28 lines
588 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-10-03 12:12:41 +02:00
stats: 'errors-warnings',
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: {
2020-07-05 16:06:56 +02:00
additionalData: '@import "@/scss/_variables.scss";'
2020-05-08 18:02:18 +02:00
}
}
]
}
]
}
2020-05-07 17:45:04 +02:00
};