Remove sass usage and move babel config to package.json file
6 files changed, 17 insertions(+), 29 deletions(-)

R babelrc.config.js => 
M package.json
R postcss.config.js => 
M src/index.js
M src/styles.scss => src/styles.css
M webpack.config.js
R babelrc.config.js =>  +0 -14
@@ 1,14 0,0 @@ 
-module.exports = {
-    presets: [
-        "@babel/preset-env",
-    ],
-    plugins: [
-        '@babel/plugin-transform-runtime',
-        ['@babel/plugin-proposal-class-properties', { 'loose': true }],
-        ['@babel/plugin-proposal-decorators', { 'legacy': true }],
-        '@babel/plugin-transform-async-to-generator',
-        '@babel/plugin-transform-arrow-functions',
-        '@babel/plugin-proposal-object-rest-spread',
-        '@babel/plugin-proposal-export-default-from'
-    ]
-}
  No newline at end of file

          
M package.json +14 -6
@@ 37,20 37,28 @@ 
     "@babel/plugin-transform-runtime": "^7.12.10",
     "@babel/preset-env": "^7.12.11",
     "@babel/preset-react": "^7.12.10",
-    "autoprefixer": "^9.8.6",
     "babel-loader": "^8.2.2",
     "config": "^3.3.3",
     "css-loader": "^3.6.0",
-    "cssnano": "^4.1.10",
     "html-webpack-plugin": "^3.2.0",
-    "node-sass": "^4.14.1",
-    "postcss-loader": "^3.0.0",
-    "sass-loader": "^8.0.2",
     "style-loader": "^1.3.0",
     "webpack": "^4.44.2",
     "webpack-cli": "^3.3.12",
     "webpack-dev-server": "^3.11.0",
     "prettier": "^2.2.1"
   },
-  "dependencies": {}
+  "babel": {
+    "presets": [
+      "@babel/preset-env"
+    ],
+    "plugins": [
+        "@babel/plugin-transform-runtime",
+        ["@babel/plugin-proposal-class-properties", { "loose": true }],
+        ["@babel/plugin-proposal-decorators", { "legacy": true }],
+        "@babel/plugin-transform-async-to-generator",
+        "@babel/plugin-transform-arrow-functions",
+        "@babel/plugin-proposal-object-rest-spread",
+        "@babel/plugin-proposal-export-default-from"
+    ]
+  }
 }

          
R postcss.config.js =>  +0 -6
@@ 1,6 0,0 @@ 
-module.exports = {
-    plugins: [
-        require('autoprefixer'),
-        require('cssnano'),
-    ]
-};
  No newline at end of file

          
M src/index.js +1 -1
@@ 1,4 1,4 @@ 
-import './styles.scss';
+import './styles.css';
 import defaultConfig from './lib/config';
 import ValidationError from './lib/error';
 import { QuestionTemplate, AnswerTemplate, ResultTemplate } from './lib/dom';

          
M src/styles.scss => src/styles.css +0 -0

        
M webpack.config.js +2 -2
@@ 32,8 32,8 @@ module.exports = {
                 use: ['babel-loader']
             },
             {
-                test: /\.scss$/,
-                use: ['style-loader', 'css-loader', 'postcss-loader', 'sass-loader']
+                test: /\.css$/,
+                use: ['style-loader', 'css-loader']
             }
         ]
     },