iview / iview/iview-admin

Unexpected token 'const'

Open
#1,122 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
16.4k
Forks
4.7k
PR merge metrics
No merged PRs in 30d

Description

safari 浏览器npm run dev报Unexpected token 'const'
"babel-preset-es2015": "^6.9.0",
"webpack-dev-server": "2.7.1",

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the Safari failure with `npm run dev`, using the reported `babel-preset-es2015` and `webpack-dev-server` versions as the starting point. Inspect the project’s build configuration and browser transpilation path; done means the development server loads without Safari reporting `Unexpected token 'const'`.

Written by the indexing model from the issue text.

Assessment

Tech stack
babel, javascript, webpack
Domain
build-system, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.