Commit dc4993b3 authored by rockyl's avatar rockyl

alienlib -> @alienlib

parent 82f2a683
......@@ -5,6 +5,7 @@ const rollup = require('rollup');
const resolve = require('rollup-plugin-node-resolve');
const typescriptPlugin = require('./rollup-plugin-typescript');
const typescript = require('typescript');
const rollupPluginTypescriptPathMapping = require('rollup-plugin-typescript-path-mapping');
const {uglify} = require('rollup-plugin-uglify');
const commonjs = require('rollup-plugin-commonjs');
const glob = require('glob');
......@@ -41,6 +42,7 @@ export class RollupCompilePlugin implements plugins.Command {
}),
resolve(),
commonjs(),
rollupPluginTypescriptPathMapping({tsconfig: true}),
];
if (!debugMode) {
......@@ -95,7 +97,7 @@ export class RollupCompilePlugin implements plugins.Command {
'bundle.min.js';
let sourceCode = code;
if(!debugMode){
if (!debugMode) {
sourceCode = 'RELEASE=true;DEBUG=false;' + sourceCode;
}
if (map) {
......
......@@ -12,7 +12,13 @@
"es5",
"dom",
"es2015.promise"
]
],
"baseUrl": "./",
"paths": {
"@alienlib/*": ["src/alienlib-cjs/*"]
},
"outDir": "dist",
"rootDir": "src"
},
"exclude": [
"node_modules",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment