Skip to content

Commit 76b9252

Browse files
author
Ives van Hoorne
committed
Fix some angular builds
1 parent 4f0e2fd commit 76b9252

File tree

1 file changed

+2
-1
lines changed
  • packages/app/src/sandbox/eval/presets/angular-cli

1 file changed

+2
-1
lines changed

packages/app/src/sandbox/eval/presets/angular-cli/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import Preset from '../';
44

55
import angular2Transpiler from '../../transpilers/angular2-template';
66
import typescriptTranspiler from '../../transpilers/typescript';
7+
import babelTranspiler from '../../transpilers/babel';
78
import jsonTranspiler from '../../transpilers/json';
89
import stylesTranspiler from '../../transpilers/style';
910
import sassTranspiler from '../../transpilers/sass';
@@ -213,7 +214,7 @@ export default function initialize() {
213214
]);
214215

215216
preset.registerTranspiler(module => /\.js$/.test(module.path), [
216-
{ transpiler: typescriptTranspiler },
217+
{ transpiler: babelTranspiler },
217218
]);
218219

219220
preset.registerTranspiler(module => /\.json$/.test(module.path), [

0 commit comments

Comments
 (0)