source map does not appear
hi team,
We are viewing from the Frontend training course(https://safari.spryker.com/learn/course/668/spryker-frontend-basics;lp=146).
In the record we see the SCSS sourcemap appearing when inspecting.
But when I check my current local version, the sourcemap seems to be hidden, I don't find any linked scss, instead only see css files.
Even though we have enabled sourcemap in the browser
Is there any config to enable sourcemap in spryker ?
Thanks
Hau Nguyen
Answers
-
Hi Hau,
It is configured as inline-source-map by default.
Check out devtool: option in
frontend/configs/development.js
0 -
hi @Hidran Arias ,
I have checked it is declared in frontend/configs/development.js, but it doesn't seem to work.
You can view the record to see clearly
Thanks
Hau Nguyen
0 -
I took a look at
MiniCssExtractPlugin.loader, { loader: 'css-loader', options: { importLoaders: 1, url: false, sourceMap: true }, },
sourceMap: true. wasn't set
if you set it to true and reexecute npm run yves:watch or npm run yves , then sourcemaps files are generated.
I'm going to take a look at the repo to see why it is not set by default now0 -
5
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 69 Spryker News
- 896 Developer Corner
- 758 Spryker Development
- 83 Spryker Dev Environment
- 361 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 23 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 68 Spryker Safari Questions
- 50 Random