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

Commit

Permalink
fix(webpack): modify config to use IONIC_APP_SCRIPTS_DIR variable
Browse files Browse the repository at this point in the history
  • Loading branch information
danbucholtz committed Nov 2, 2016
1 parent 925d3f3 commit 2b7c606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function getSourcemapLoader() {
return [
{
test: /\.js$/,
loader: path.resolve(path.join(process.cwd(), 'node_modules', '@ionic', 'app-scripts', 'dist', 'loaders', 'typescript-sourcemap-loader-memory.js'))
loader: path.join(process.env.IONIC_APP_SCRIPTS_DIR, 'dist', 'loaders', 'typescript-sourcemap-loader-memory.js')
}
];
}
Expand Down

0 comments on commit 2b7c606

Please sign in to comment.