Open tadatuta opened 9 years ago
Source map works well with big files.
This bug is reproduced with block icon
only:
module.exports = {
block : 'page',
title : 'Title of the page',
favicon : '/favicon.ico',
head : [
{ elem : 'meta', attrs : { name : 'description', content : '' } },
{ elem : 'meta', attrs : { name : 'viewport', content : 'width=device-width, initial-scale=1' } },
{ elem : 'css', url : 'index.min.css' }
],
scripts: [{ elem : 'js', url : 'index.min.js' }],
mods : { theme : 'islands' },
content : [
{ block : 'icon' }
]
};
If you remove this comment from source code then it will fix source maps.
Steps to reproduce:
npm i
sourcemap: true
option to stylus options in.enb/make.js
index.css
instead of proper*.styl
filesBut when bundle is cut to, for example, just
source map works fine.