mirror of
https://github.com/marko-js/marko.git
synced 2026-01-25 15:03:04 +00:00
7 lines
247 B
JavaScript
7 lines
247 B
JavaScript
if (process.env.BUNDLE) {
|
|
// you cannot load templates dynamically within a bundle
|
|
// all templates should be pre-compiled as part of the bundle
|
|
module.exports = function(){};
|
|
} else {
|
|
module.exports = require('./index-default');
|
|
} |