Preact-cli: Allow for source map mode selection

Created on 6 Jun 2017  路  2Comments  路  Source: preactjs/preact-cli

Running into issues within my workflow with cheap-module-source-map and would be awesome to be able to configure this through some mechanism. (bonus: anything in the webpack config)

Most helpful comment

In 1.3.0 you can do:

export default (config, env, helpers) => {
  config.devtool = 'your-own'
}

All 2 comments

There is a PR for it already. Stay tuned. https://github.com/developit/preact-cli/pull/56

In 1.3.0 you can do:

export default (config, env, helpers) => {
  config.devtool = 'your-own'
}
Was this page helpful?
0 / 5 - 0 ratings

Related issues

raphaelbauer picture raphaelbauer  路  3Comments

c0debreaker picture c0debreaker  路  4Comments

thangngoc89 picture thangngoc89  路  3Comments

hardcoar picture hardcoar  路  3Comments

ajay28kumar picture ajay28kumar  路  3Comments