Welcome to mirror list, hosted at ThFree Co, Russian Federation.

webpack.js - github.com/nextcloud/firstrunwizard.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 45aa7416116745229b8591caf60cd693e6d93d62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
const webpackConfig = require('@nextcloud/webpack-vue-config')
const webpackRules = require('@nextcloud/webpack-vue-config/rules')

// Don't inline scss urls
const cssLoaderIndex = webpackRules.RULE_SCSS.use.findIndex(rule => rule === 'css-loader')
webpackRules.RULE_SCSS.use[cssLoaderIndex] = {
	loader: 'css-loader',
	options: {
		url: false
	},
}

webpackConfig.module.rules = Object.values(webpackRules)

module.exports = webpackConfig