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

zwrawr picture zwrawr  路  3Comments

hesselbom picture hesselbom  路  3Comments

ethanwu10 picture ethanwu10  路  3Comments

raphaelbauer picture raphaelbauer  路  3Comments

hardcoar picture hardcoar  路  3Comments