mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-04-20 22:22:05 +02:00
28 lines
600 B
JavaScript
28 lines
600 B
JavaScript
const path = require('path');
|
|
const scssFunctions = require('../scripts/scssFunctions');
|
|
|
|
module.exports = {
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.scss$/,
|
|
use: [
|
|
{ loader: 'style-loader' },
|
|
{ loader: 'css-loader' },
|
|
{
|
|
loader: 'sass-loader',
|
|
options: {
|
|
functions: scssFunctions,
|
|
},
|
|
},
|
|
],
|
|
include: path.resolve(__dirname, '../'),
|
|
},
|
|
{
|
|
test: /\.(jpe?g|png|gif|woff|woff2|eot|ttf|svg)(\?[a-z0-9=.]+)?$/,
|
|
loader: 'url-loader',
|
|
},
|
|
],
|
|
},
|
|
};
|