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:
Norbert de Langen 2019-08-19 17:28:09 +02:00 committed by GitHub
commit 5257b5ec41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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' },
],
},
],