Inconsistent extraction to js
See original GitHub issueWhen this plugin reads content from js, it uses eval(fs.readFileSync(langPath, 'utf8'));
But when writing, it uses
const jsFile = `export default ${stringifiedContent}; \n`;
So, it can not read it’s own files.
export default {
^^^^^^
SyntaxError: Unexpected token 'export'
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Inconsistent extraction to js · Issue #103 · Spittal/vue-i18n-extract
When this plugin reads content from js, it uses eval(fs.readFileSync(langPath, 'utf8')); But when writing, it uses const jsFile = `export ...
Read more >3 Ways to Avoid Inconsistent Extractions - Clive Coffee
Here are 3 areas of improvement to reduce these espresso shot inconsistencies. Coffee freshness; Grind retention; Volume of beans in the hopper. All...
Read more >Help me troubleshoot consistently uneven extraction
Below are a serious of videos which will hopefully help troubleshoot what I consistently get a very uneven extraction.
Read more >Strange inconsistent extraction times with constant settings
Inexplicably, my extractions have gone hugely inconsistent and I can't work out why. Same grind setting, same dose, same final output, ...
Read more >EK Inconsistent grind - Q&A - Barista Hustle Community Forum
We use our EK43 for filter grinding only - batch, V60 and aeropress. Recently it had it's burrs replaced and now we notice...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Most likely, there is no support for es6 modules, read more here https://github.com/pixari/vue-i18n-extract/issues/142
The problem still remains relevant. Version 2.0.4. Command:
yarn run vue-i18n-extract use-config
vue-i18n-extract.config.js:Error message: