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

Commit 2b7c606

Browse files
committed
fix(webpack): modify config to use IONIC_APP_SCRIPTS_DIR variable
1 parent 925d3f3 commit 2b7c606

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function getSourcemapLoader() {
3131
return [
3232
{
3333
test: /\.js$/,
34-
loader: path.resolve(path.join(process.cwd(), 'node_modules', '@ionic', 'app-scripts', 'dist', 'loaders', 'typescript-sourcemap-loader-memory.js'))
34+
loader: path.join(process.env.IONIC_APP_SCRIPTS_DIR, 'dist', 'loaders', 'typescript-sourcemap-loader-memory.js')
3535
}
3636
];
3737
}

0 commit comments

Comments
 (0)