Comments (2)
I forgot source maps, sorry.
What you need to do is put on your webpack.config.js
the devtool config:
module.exports = {
...the rest of file omitted here...,
devtool: 'cheap-module-eval-source-map'
}
I will update soon the boilerplate to already come with source maps.
Don't forget to disable the devtool when you build the production extension pack, because it causes performance issues that isn't problem in development, but is undesired in production.
from chrome-extension-webpack-boilerplate.
Thank you!
from chrome-extension-webpack-boilerplate.
Related Issues (20)
- Support for firefox and Edge?
- Is unsafe-eval in manifest.json needed? HOT 3
- Unexpected token at nullish coalescing
- Tailwind Integration
- How to inject custom components to content scripts? HOT 1
- Content Script not working on https websites when using dev server HOT 2
- How to access background script public function HOT 3
- Serious merging issues HOT 2
- uncaught referenceerror require is not defined
- How to properly include dependencies? HOT 1
- Resaving source files (with hot reload enabled) causes loss of manifest file HOT 6
- mafifest.js options_page has been deprecated in favor of options_ui
- Relaxed content security policy HOT 1
- Enabling HMR for content scripts HOT 3
- Auto hot reloading with HTML files?
- Looking for contributors
- Npm run start - Source files which are compiled via copy-webpack-plugin are not copied/rendered to build. HOT 1
- Chrome web package
- process.env.npm_package_description is no more available with npm v7 HOT 1
- Keep accidentally committing Mac files locally
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chrome-extension-webpack-boilerplate.