Skip to content
Snippets Groups Projects
Commit f46ec30e authored by Mathias Maaß's avatar Mathias Maaß
Browse files

remove index.scss, sass dependencies, related webpack config

parent f8fe00bb
Branches
Tags
No related merge requests found
......@@ -8,7 +8,7 @@
],
"scripts": {
"clean": "rm -rf ./dist",
"lint": "node_modules/.bin/eslint ./ && node_modules/.bin/sass-lint -v ./src/styles/**/* && npm run lint:translations",
"lint": "node_modules/.bin/eslint ./ && npm run lint:translations",
"lint:translations": "node ./scripts/i18n-lint.js",
"server": "node_modules/.bin/http-server",
"test": "npm run build && npm run lint && npm run size && jest -c jest.json",
......@@ -45,7 +45,6 @@
"lodash": "^4.17.11",
"manifesto.js": "^3.0.11",
"node-fetch": "^2.6.0",
"node-sass": "^4.12.0",
"normalize-url": "^4.2.0",
"openseadragon": "^2.4.1",
"prop-types": "^15.6.2",
......@@ -66,7 +65,6 @@
"redux-devtools-extension": "^2.13.2",
"redux-thunk": "^2.3.0",
"reselect": "^4.0.0",
"sass-loader": "^7.1.0",
"uuid": "^3.3.2"
},
"devDependencies": {
......@@ -108,7 +106,6 @@
"react-dev-utils": "^9.0.1",
"react-dom": "^16.8.6",
"redux-mock-store": "^1.5.1",
"sass-lint": "^1.13.1",
"style-loader": "^0.23.1",
"supertest": "^4.0.2",
"terser-webpack-plugin": "^1.3.0",
......
......@@ -8,7 +8,6 @@ import createI18nInstance from '../i18n';
import WorkspaceArea from '../containers/WorkspaceArea';
import AuthenticationSender from '../containers/AuthenticationSender';
import AccessTokenSender from '../containers/AccessTokenSender';
import '../styles/index.scss';
/**
* This is the top level Mirador component.
......
......@@ -36,12 +36,8 @@ const baseConfig = [
rules: [
babelLoaderConfig,
{
test: /\.s?css$/,
use: [
'style-loader', // creates style nodes from JS strings
'css-loader', // translates CSS into CommonJS
'sass-loader', // compiles Sass to CSS, using Node Sass by default
],
test: /\.css$/i,
use: ['style-loader', 'css-loader'],
},
],
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment