diff --git a/yog2-fis3.js b/yog2-fis3.js index 21cfd85..fbd51f9 100644 --- a/yog2-fis3.js +++ b/yog2-fis3.js @@ -144,7 +144,16 @@ fis.require._cache['command-util'] = require('./command/util.js'); }); }); -fis.enableNPM = function(options) { +fis.enableES7 = function (options) { + fis.match('/server/**.js', { + parser: fis.plugin('typescript', { + module: 1, + target: 2 + }) + }); +}; + +fis.enableNPM = function (options) { fis.match('/client/node_modules/**.js', { isMod: true }); @@ -225,4 +234,4 @@ fis.match('::package', { map.setContent(JSON.stringify(ret.map, null, 4)); ret.pkg[map.subpath] = map; } -}); \ No newline at end of file +});