Permalink
Browse files

fix(webpack): explicitly load the webpack typings

closes #700
  • Loading branch information...
JeroenVinke committed Aug 19, 2017
1 parent 6464532 commit 2357a62d36667d0bae5bcbf82ab7f02521463c8e
@@ -8,7 +8,8 @@ module.exports = function(project) {
project.addToContent(
ProjectItem.resource('tslint.json', 'content/tslint.json'),
ProjectItem.resource('tsconfig.json', 'content/tsconfig.json'),
ProjectItem.resource('tsconfig.json', 'content/tsconfig.template.json')
.asTemplate(project.model),
ProjectItem.directory('custom_typings')
).addToTasks(
ProjectItem.resource('transpile.ts', 'tasks/transpile.ts')
@@ -3,7 +3,8 @@ const ProjectItem = require('../../../../../project-item').ProjectItem;
module.exports = function(project) {
project.addToContent(
ProjectItem.resource('tsconfig.json', 'content/tsconfig.json'),
ProjectItem.resource('tsconfig.json', 'content/tsconfig.template.json')
.asTemplate(project.model),
ProjectItem.directory('custom_typings')
.add(
ProjectItem.resource('fetch.d.ts', 'content/custom_typings_webpack/fetch.d.ts'),

This file was deleted.

Oops, something went wrong.
@@ -13,6 +13,11 @@
"moduleResolution": "node",
"lib": ["es2017", "dom"]
},
// @if bundler.id='webpack'
"files":[
"./node_modules/@types/webpack/index.d.ts"
],
// @endif
"exclude": [
"node_modules",
"aurelia_project"

0 comments on commit 2357a62

Please sign in to comment.