Logo
Explore Help
Sign In
iSharkFly-Docs/angular-docs-cn
1
0
Fork 0
You've already forked angular-docs-cn
Code Issues Pull Requests Packages Projects Releases Wiki Activity
angular-docs-cn/scripts/build/map_sources.js

14 lines
223 B
JavaScript
Raw Normal View History

build: add source maps into NPM distribution (#15159) Previous to 2.x there were some source maps distrubted, but they didn't go all the way back to the TypeScript sources and they weren't available for all JavaScript distrubted to NPM. With this change source maps will be available for FESM distributions as well as UMD and will go all the way back to TypeScript sources. Fixes #15184
2017-03-16 12:55:15 -07:00
var path = require('path');
var sorcery = require('sorcery');
var yargs = require('yargs');
var argv = require('yargs')
.alias('f', 'file')
.argv;
sorcery.load(argv.file).then(function(chain) {
chain.write();
});
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.1 Page: 45ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API