@paintless/mapper-webpack
v0.1.0
Published
Webpack loader that annotates JSX elements with their source location for Paintless
Maintainers
Readme
@paintless/mapper-webpack
Webpack loader that stamps every JSX element with its file and line.
module.exports = {
module: {
rules: [
{ test: /\.[jt]sx$/, use: '@paintless/mapper-webpack' },
],
},
}For Next.js use @paintless/mapper-next, which wires this into the config Next
generates.
Part of Paintless — click an element in a running app, describe the change, let an agent make it. Docs: https://kyechan99.github.io/paintless/
MIT © kyechan99
