chore: translate inline system config for plunker

closes #1439
This commit is contained in:
Foxandxss 2016-05-19 21:45:15 +02:00 committed by Ward Bell
parent 16dccb6a6b
commit 3a6d223efb
1 changed files with 14 additions and 0 deletions

View File

@ -18,6 +18,14 @@ var _rxRules = {
link: {
from: '/<link rel="stylesheet" href=".*%tag%".*>/',
to: '<link rel="stylesheet" href="%tag%">'
},
system_extra_main: {
from: /main:\s*[\'|\"]index.js[\'|\"]/,
to: 'main: "index.ts"'
},
system_extra_defaultExtension: {
from: /defaultExtension:\s*[\'|\"]js[\'|\"]/,
to: 'defaultExtension: "ts"'
}
};
@ -67,6 +75,12 @@ var _rxData = [
},
{
pattern: 'angular_pkg',
},
{
pattern: 'system_extra_main'
},
{
pattern: 'system_extra_defaultExtension'
}
];