airyland / airyland/vux-loader
parser不用正确解析以LF为换行格式下多个斜杠开头的comments
Aperta
- Lingua principale
- JavaScript
- Stelle
- 64
- Fork
- 37
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### vux-loader version
**^1.0.56**
### OS/Browsers version
无关
### Vue version
**^2.6.0**
### Code
```javascript
/////
const a = 1;
// another comment here
let b = 'this works';
```
### What is Expected?
以`\n`为换行格式的文件能够正确解析多个`/`开头的comments
### What is actually happening?
静态解析初始文本
```
/////\n const a=1;\n\n // another comment here\n let b='this works';\n
```
经过vux-loader解析后 `const a = 1;` 被注释掉了。

Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.