Skip to content
This repository has been archived by the owner on Jun 10, 2022. It is now read-only.

Commit

Permalink
Remove all scss stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarah Emerson committed Apr 10, 2022
1 parent d4ca472 commit 720acef
Show file tree
Hide file tree
Showing 4 changed files with 1,928 additions and 4,649 deletions.
6 changes: 0 additions & 6 deletions client/styles/index.scss

This file was deleted.

30 changes: 6 additions & 24 deletions client/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,41 +1,23 @@
const path = require('path')
const MiniCssExtractPlugin = require('mini-css-extract-plugin')

module.exports = {
entry: ['./client/index.js', './client/styles/index.scss'],
entry: ['./client/index.js'],
output: {
path: path.join(__dirname, '..', 'server', 'public'),
filename: 'bundle.js'
filename: 'bundle.js',
},
mode: 'development',
plugins: [
new MiniCssExtractPlugin({
filename: 'styles.css',
chunkFilename: '[id].css',
ignoreOrder: false // Enable to remove warnings about conflicting order
})
],
module: {
rules: [
{
test: /\.jsx?$/,
loader: 'babel-loader',
exclude: /node_modules/
exclude: /node_modules/,
},
{
test: /\.(sa|sc|c)ss$/,
use: [
{
loader: MiniCssExtractPlugin.loader
},
'css-loader',
'sass-loader'
]
}
]
],
},
resolve: {
extensions: ['.js', '.jsx']
extensions: ['.js', '.jsx'],
},
devtool: 'source-map'
devtool: 'source-map',
}
Loading

0 comments on commit 720acef

Please sign in to comment.