diff --git a/index.js b/index.js index d789a83..02b1811 100644 --- a/index.js +++ b/index.js @@ -8,9 +8,12 @@ module.exports = function vueify (file, options) { compiler.loadConfig() compiler.applyConfig(options) - compiler.applyConfig({ - sourceMap: options._flags.debug - }) + + if (options._flags) { + compiler.applyConfig({ + sourceMap: options._flags.debug + }) + } var data = '' var stream = through(write, end)
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: