build sass files
This commit is contained in:
parent
4277844fac
commit
23881329ae
|
@ -42,7 +42,7 @@
|
||||||
"node-sass": "^4.9.3",
|
"node-sass": "^4.9.3",
|
||||||
"raw-loader": "^4.0.0",
|
"raw-loader": "^4.0.0",
|
||||||
"regexp-replace-loader": "1.0.1",
|
"regexp-replace-loader": "1.0.1",
|
||||||
"sass-loader": "^4.1.1",
|
"sass-loader": "^8.0.2",
|
||||||
"stream-chunker": "^1.2.8",
|
"stream-chunker": "^1.2.8",
|
||||||
"subworkers": "^1.0.1",
|
"subworkers": "^1.0.1",
|
||||||
"to-arraybuffer": "^1.0.1",
|
"to-arraybuffer": "^1.0.1",
|
||||||
|
|
|
@ -8,7 +8,9 @@ module.exports = {
|
||||||
'./app/index.js',
|
'./app/index.js',
|
||||||
'./app/index.html'
|
'./app/index.html'
|
||||||
],
|
],
|
||||||
config: './app/config.js'
|
config: './app/config.js',
|
||||||
|
theme: './app/theme.js',
|
||||||
|
matrix: './app/matrix.js'
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
path: path.join(__dirname, 'dist'),
|
path: path.join(__dirname, 'dist'),
|
||||||
|
@ -55,6 +57,15 @@ module.exports = {
|
||||||
'css-loader'
|
'css-loader'
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
test: /\.scss$/,
|
||||||
|
use: [
|
||||||
|
'file-loader?name=[hash].css',
|
||||||
|
'extract-loader',
|
||||||
|
'css-loader',
|
||||||
|
'sass-loader'
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
type: 'javascript/auto',
|
type: 'javascript/auto',
|
||||||
test: /manifest\.json$|\.xml$/,
|
test: /manifest\.json$|\.xml$/,
|
||||||
|
|
Loading…
Reference in a new issue