Fix 'marko is using deprecated features' message (#1250)

This commit is contained in:
Dylan Piercey 2019-01-31 15:02:56 -08:00 committed by GitHub
parent 354576ba29
commit ecae71cde2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 24 additions and 12 deletions

View File

@ -1,7 +1,7 @@
module-code(function(require) {
<module-code(function(require) {
var isDebug = require('./env').isDebug;
return `module.exports = require("./${isDebug ? 'src' : 'dist'}/compiler");\n`;
});
})/>
// What's going on here? We are using Marko to do JavaScript code generation
// during the module bundling phase to conditionally export either the

View File

@ -1,7 +1,7 @@
module-code(function(require) {
<module-code(function(require) {
var isDebug = require('./env').isDebug;
return `module.exports = require("./${isDebug ? 'src' : 'dist'}/components");\n`;
});
})/>
// What's going on here? We are using Marko to do JavaScript code generation
// during the module bundling phase to conditionally export either the

View File

@ -1,7 +1,7 @@
module-code(function(require) {
<module-code(function(require) {
var isDebug = require('./env').isDebug;
return `module.exports = require("./${isDebug ? 'src' : 'dist'}/index");\n`;
});
})/>
// What's going on here? We are using Marko to do JavaScript code generation
// during the module bundling phase to conditionally export either the

View File

@ -1,4 +1,10 @@
module-code(function(require) {
<module-code(function(require) {
var isDebug = require('./env').isDebug;
return `module.exports = require("./${isDebug ? 'src' : 'dist'}/components/jquery");\n`;
});
})/>
// What's going on here? We are using Marko to do JavaScript code generation
// during the module bundling phase to conditionally export either the
// "src" or the "dist" folder based on whether or not we are doing a
// debug or non-debug build. We are using Marko since we know the Marko compiler
// is enabled already (no extra babel transform required).

View File

@ -1,7 +1,7 @@
module-code(function(require) {
<module-code(function(require) {
var isDebug = require('./env').isDebug;
return `module.exports = require("./${isDebug ? 'src' : 'dist'}/components/legacy");\n`;
});
})/>
// What's going on here? We are using Marko to do JavaScript code generation
// during the module bundling phase to conditionally export either the

View File

@ -1,4 +1,10 @@
module-code(function(require) {
<module-code(function(require) {
var isDebug = require('./env').isDebug;
return `module.exports = require("./${isDebug ? 'src' : 'dist'}/components/ready");\n`;
});
})/>
// What's going on here? We are using Marko to do JavaScript code generation
// during the module bundling phase to conditionally export either the
// "src" or the "dist" folder based on whether or not we are doing a
// debug or non-debug build. We are using Marko since we know the Marko compiler
// is enabled already (no extra babel transform required).