mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
conversion to SCSS
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@
|
|||||||
"file-loader": "^6.2.0",
|
"file-loader": "^6.2.0",
|
||||||
"mini-css-extract-plugin": "^2.7.6",
|
"mini-css-extract-plugin": "^2.7.6",
|
||||||
"prettier": "3.0.2",
|
"prettier": "3.0.2",
|
||||||
"sass": "^1.65.1",
|
"sass": "^1.69.5",
|
||||||
"sass-loader": "^13.3.2",
|
"sass-loader": "^13.3.2",
|
||||||
"style-loader": "^3.3.3",
|
"style-loader": "^3.3.3",
|
||||||
"webextension-polyfill": "^0.10.0",
|
"webextension-polyfill": "^0.10.0",
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
import './injected.css';
|
import './injected.scss';
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
+5
-4
@@ -20,7 +20,7 @@ export default {
|
|||||||
background: './src/background.js',
|
background: './src/background.js',
|
||||||
'inject/documentload': './src/inject/documentload.css', // Entry for CSS
|
'inject/documentload': './src/inject/documentload.css', // Entry for CSS
|
||||||
'inject/iframe': './src/inject/iframe.css', // Entry for CSS
|
'inject/iframe': './src/inject/iframe.css', // Entry for CSS
|
||||||
'inject/injected': './src/inject/injected.css', // Entry for CSS
|
'inject/injected': './src/inject/injected.scss', // Entry for CSS
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
filename: (pathData) => {
|
filename: (pathData) => {
|
||||||
@@ -34,15 +34,16 @@ export default {
|
|||||||
module: {
|
module: {
|
||||||
rules: [
|
rules: [
|
||||||
{
|
{
|
||||||
test: /\.css$/,
|
test: /\.(css|scss)$/,
|
||||||
use: [
|
use: [
|
||||||
MiniCssExtractPlugin.loader,
|
MiniCssExtractPlugin.loader,
|
||||||
{
|
{
|
||||||
loader: 'css-loader',
|
loader: 'css-loader',
|
||||||
options: {
|
options: {
|
||||||
importLoaders: 1
|
importLoaders: 2
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
'sass-loader'
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user