Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
module.exports = {
baseURL: 'resources/assets/',
transpiler: 'plugin-babel',
defaultJSExtensions: true,
meta: {
'vendor/JsBarcode/*': { format: 'global', deps: ['jquery'] },
'vendor/knockout/build/output/knockout-latest.js': { format: 'global', deps: ['jquery'] },
'vendor/materialize-css/dist/js/materialize.js': { format: 'global', deps: ['jquery'] },
'vendor/moment/min/moment.min.js': { format: 'global', deps: ['jquery'] },
'vendor/**/*js': {
build: false,
},
'js/**/*.js': {
babelOptions: {
stage1: true
},
},
},
map: {
'plugin-babel': 'vendor/systemjs-plugin-babel',
'systemjs-babel-build': 'vendor/systemjs-plugin-babel/systemjs-babel-browser.js',
// For loading HTML
text: 'vendor/systemjs-plugin-text/text.js',
// Main app package
app: 'js',
// Style
materialize: 'vendor/materialize-css/dist/js/materialize.js',
// Navigation / History
crossroads: 'vendor/crossroads/dist/crossroads.js',
hasher: 'vendor/hasher/dist/js/hasher.min.js',
signals: 'vendor/signals/dist/signals.min.js',
// Knockout
jquery: 'vendor/jquery/dist/jquery.min.js',
knockout: 'vendor/knockout/build/output/knockout-latest.js',
dragula: 'vendor/dragula/dist/dragula.min.js',
'knockout-dragula': 'vendor/knockout-dragula/dist/knockout-dragula.js',
'knockout-select-on-focus': 'vendor/knockout-select-on-focus/lib/knockout.selectOnFocus.js',
'knockout-validation': 'vendor/knockout.validation/dist/knockout.validation.min.js',
// Utils
lodash: 'vendor/lodash/lodash.min.js',
'lodash-inflection': 'vendor/lodash-inflection/lib/lodash-inflection.js',
moment: 'vendor/moment/min/moment.min.js',
'moment-timezone': 'vendor/moment-timezone/builds/moment-timezone-with-data.min.js',
// Other
barcode: 'vendor/JsBarcode',
clipboard: 'vendor/clipboard/dist/clipboard.min.js',
diff: 'vendor/deep-diff/index.js',
'deep-diff': 'vendor/deep-diff/index.js',
dropzone: 'vendor/dropzone/dist/min/dropzone-amd-module.min.js'
},
packages: {
app: { main: 'app.js' },
barcode: { main: 'JsBarcode.js' },
'plugin-babel': { main: 'plugin-babel.js' },
}
}
// Auto-generated - do not edit
System.config({
"baseURL": "/",
"transpiler": "plugin-babel",
"defaultJSExtensions": true,
"meta": {
"vendor/JsBarcode/*": {
"format": "global",
"deps": [
"jquery"
]
},
"vendor/knockout/build/output/knockout-latest.js": {
"format": "global",
"deps": [
"jquery"
]
},
"vendor/materialize-css/dist/js/materialize.js": {
"format": "global",
"deps": [
"jquery"
]
},
"vendor/moment/min/moment.min.js": {
"format": "global",
"deps": [
"jquery"
]
},
"vendor/**/*js": {
"build": false
},
"js/**/*.js": {
"babelOptions": {
"stage1": true
}
}
},
"map": {
"plugin-babel": "vendor/systemjs-plugin-babel",
"systemjs-babel-build": "vendor/systemjs-plugin-babel/systemjs-babel-browser.js",
"text": "vendor/systemjs-plugin-text/text.js",
"app": "js",
"materialize": "vendor/materialize-css/dist/js/materialize.js",
"crossroads": "vendor/crossroads/dist/crossroads.js",
"hasher": "vendor/hasher/dist/js/hasher.min.js",
"signals": "vendor/signals/dist/signals.min.js",
"jquery": "vendor/jquery/dist/jquery.min.js",
"knockout": "vendor/knockout/build/output/knockout-latest.js",
"dragula": "vendor/dragula/dist/dragula.min.js",
"knockout-dragula": "vendor/knockout-dragula/dist/knockout-dragula.js",
"knockout-select-on-focus": "vendor/knockout-select-on-focus/lib/knockout.selectOnFocus.js",
"knockout-validation": "vendor/knockout.validation/dist/knockout.validation.min.js",
"lodash": "vendor/lodash/lodash.min.js",
"lodash-inflection": "vendor/lodash-inflection/lib/lodash-inflection.js",
"moment": "vendor/moment/min/moment.min.js",
"moment-timezone": "vendor/moment-timezone/builds/moment-timezone-with-data.min.js",
"barcode": "vendor/JsBarcode",
"clipboard": "vendor/clipboard/dist/clipboard.min.js",
"diff": "vendor/deep-diff/index.js",
"deep-diff": "vendor/deep-diff/index.js",
"dropzone": "vendor/dropzone/dist/min/dropzone-amd-module.min.js"
},
"packages": {
"app": {
"main": "app.js"
},
"barcode": {
"main": "JsBarcode.js"
},
"plugin-babel": {
"main": "plugin-babel.js"
}
}
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.