mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 07:21:16 +08:00
Merge pull request #7207 from baraalex/7161-raw-loader-module-not-found
7161 Fix error raw loader module not found in angular 8 Co-authored-by: Kai Röder <roeder.kai@gmail.com>
This commit is contained in:
commit
5257b5ec41
@ -19,10 +19,10 @@ export function webpack(
|
||||
test: /\.tsx?$/,
|
||||
use: [
|
||||
{
|
||||
loader: require.resolve('ts-loader'),
|
||||
loader: 'ts-loader',
|
||||
options: tsLoaderOptions,
|
||||
},
|
||||
require.resolve('angular2-template-loader'),
|
||||
{ loader: 'angular2-template-loader' },
|
||||
],
|
||||
},
|
||||
{
|
||||
@ -37,14 +37,14 @@ export function webpack(
|
||||
{
|
||||
test: /\.s(c|a)ss$/,
|
||||
use: [
|
||||
require.resolve('raw-loader'),
|
||||
{ loader: 'raw-loader' },
|
||||
{
|
||||
loader: require.resolve('postcss-loader'),
|
||||
options: {
|
||||
plugins: [autoprefixer()],
|
||||
},
|
||||
},
|
||||
require.resolve('sass-loader'),
|
||||
{ loader: 'sass-loader' },
|
||||
],
|
||||
},
|
||||
],
|
||||
|
Loading…
x
Reference in New Issue
Block a user