Skip to content
This repository was archived by the owner on Oct 30, 2020. It is now read-only.

Error: Cannot find module 'css-loader/locals' #95

Open
EvalGitHub opened this issue Aug 25, 2019 · 1 comment
Open

Error: Cannot find module 'css-loader/locals' #95

EvalGitHub opened this issue Aug 25, 2019 · 1 comment

Comments

@EvalGitHub
Copy link

{
test: /.scss$/,
exclude: /(node_modules|libs)/,
use: [
'style-loader',
{
loader: 'typings-for-css-modules-loader',
options: {
modules: true,
minimize: true,
localIdentName: "[local]_[hash:base64:5]"
}
},
'sass-loader',
{
loader: 'postcss-loader',
options: {
parser: 'postcss-scss',
plugin: [
require('autoprefixer')
]
}
},

@nortonwong
Copy link

You may want to check out @teamsupercell/typings-for-css-modules-loader (see #94).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants