1
1
mirror of https://github.com/Fabio286/antares.git synced 2024-12-26 00:33:02 +01:00
antares/webpack.config.js
2020-05-30 19:07:34 +02:00

28 lines
557 B
JavaScript

const webpack = require('webpack');
module.exports = {
plugins: [
new webpack.DefinePlugin({
'process.env': {
PACKAGE_VERSION: JSON.stringify(require('./package.json').version)
}
})
],
module: {
rules: [
{
test: /\.scss$/,
use: [
{
loader: 'sass-loader',
options: {
prependData: '@import "@/scss/_variables.scss";'
}
}
]
}
]
}
};