我正在尝试导出我的aureliajs应用程序。我在命令export.js
中使用的gulp export
文件包含以下行:
// this file provides a list of unbundled files that
// need to be included when exporting the application
// for production.
module.exports = {
'list': [
'index.html',
'config.js',
'favicon.ico',
'LICENSE',
'jspm_packages/system.js',
'jspm_packages/system-polyfills.js',
'jspm_packages/system-csp-production.js'
],
// this section lists any jspm packages that have
// unbundled resources that need to be exported.
// these files are in versioned folders and thus
// must be 'normalized' by jspm to get the proper
// path.
'normalize': [
[
// include font-awesome.css and its fonts files
'font-awesome', [
'/css/font-awesome.min.css',
'/fonts/*'
]
], [
// include bootstrap's font files
'bootstrap', [
'/fonts/*',
'/css/*'
]
], [
'bluebird', [
'/js/browser/bluebird.min.js'
]
], [
'cropperjs', [
'/dist/cropper.css'
]
], [
'moment', [
'/**.*',
'/locale/**.*'
]
], [
'aurelia-validatejs', [
'/**.*'
]
], [
'aurelia-chart', [
'/**.*',
'/**/*.js',
'/**/*.html'
]
]
]
};
我在导出aurelia-chart
插件时遇到问题。无论我做什么,它永远不会被复制到export/jspm_packages/npm
文件夹。如何让它表现得正常?