You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.
[ TypeError: aStr.charAt is not a function
at BasicSourceMapConsumer.SourceMapConsumer_parseMappings [as _parseMappings] (xxx/node_modules/source-map/lib/source-map-consumer.js:484:16)
at BasicSourceMapConsumer.get [as _generatedMappings] (xxx/node_modules/source-map/lib/source-map-consumer.js:70:12)
at BasicSourceMapConsumer.SourceMapConsumer_originalPositionFor [as originalPositionFor] (xxx/node_modules/source-map/lib/source-map-consumer.js:655:12)
at xxx/node_modules/merge-source-map/index.js:29:42
at Array.forEach (<anonymous>)
at BasicSourceMapConsumer.SourceMapConsumer_eachMapping [as eachMapping] (xxx/node_modules/source-map/lib/source-map-consumer.js:157:14)
at merge (xxx/node_modules/merge-source-map/index.js:24:18)
at Object.render (xxx/node_modules/@vue/component-compiler-utils/dist/styleProcessors/index.js:19:26)
at preprocess (xxx/node_modules/@vue/component-compiler-utils/dist/compileStyle.js:75:25)
at doCompileStyle (xxx/node_modules/@vue/component-compiler-utils/dist/compileStyle.js:18:48)
at Object.compileStyle (xxx/node_modules/@vue/component-compiler-utils/dist/compileStyle.js:8:12)
at SFCCompiler.compileStyle (xxx/node_modules/@vue/component-compiler/dist/compiler.js:104:51)
at input.styles.descriptor.styles.map.style (xxx/node_modules/rollup-plugin-vue/dist/index.js:104:73)
at Array.map (<anonymous>)
at Object.<anonymous> (xxx/node_modules/rollup-plugin-vue/dist/index.js:104:51)
at Generator.next (<anonymous>) ]
Steps to reproduce the behavior
Using multiple rollup configs and extract css with css: false will emit this error on the last build.
I hit this issue last week, I do believe it has to do with the vue-component-compiler caching the results of source mapping and when it is called again the second time (for your second file) it gives an error. I fixed this by running my file roll ups in different processes.
I hit this issue last week, I do believe it has to do with the vue-component-compiler caching the results of source mapping and when it is called again the second time (for your second file) it gives an error. I fixed this by running my file roll ups in different processes.
Expected behavior
No error
Actual behavior
Emitted error but outputs seems are correct.
Steps to reproduce the behavior
Using multiple rollup configs and extract css with
css: false
will emit this error on the last build.I guess maybe because of this. Could it be an option?
rollup-plugin-vue/src/index.ts
Line 203 in 27bc6f8
The text was updated successfully, but these errors were encountered: