Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
devonpis committed Jul 11, 2022
1 parent 9dddb66 commit bc7de15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 30 deletions.
16 changes: 1 addition & 15 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const path = require("path");
const CopyPlugin = require("copy-webpack-plugin");
// const globImporter = require("node-sass-glob-importer");

module.exports = {
stories: ["../src/**/*.stories.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
Expand Down Expand Up @@ -28,20 +27,7 @@ module.exports = {
});
config.module.rules.push({
test: /\.(s(a|c)ss)$/,
use: [
"style-loader",
"css-loader",
// {
// loader: "sass-loader",
// options: {
// sassOptions: {
// // for scss wildcard import
// importer: globImporter(),
// },
// },
// },
"sass-loader",
],
use: ["style-loader", "css-loader", "sass-loader"],
});
config.module.rules.find(
(item) => item.type === "asset/resource"
Expand Down
16 changes: 1 addition & 15 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ const CopyPlugin = require("copy-webpack-plugin");
const UnminifiedWebpackPlugin = require("unminified-webpack-plugin");
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
const RemovePlugin = require("remove-files-webpack-plugin");
// const globImporter = require("node-sass-glob-importer");

const getScriptConfig = (src) => {
return {
Expand Down Expand Up @@ -85,20 +84,7 @@ module.exports = {
},
{
test: /\.(s(a|c)ss)$/,
use: [
MiniCssExtractPlugin.loader,
"css-loader",
// {
// loader: "sass-loader",
// options: {
// sassOptions: {
// // for scss wildcard import
// importer: globImporter(),
// },
// },
// },
"sass-loader",
],
use: [MiniCssExtractPlugin.loader, "css-loader", "sass-loader"],
},
],
},
Expand Down

0 comments on commit bc7de15

Please sign in to comment.