slate icon indicating copy to clipboard operation
slate copied to clipboard

How to add Browsersync default browser option to slate.config.js?

Open dungle-scrubs opened this issue 6 years ago • 1 comments

I've learned how to change the default browsersync browser that loads by navigating to

node_module/@shopify/slate-tools/tools/dev-server/index.js

and adding to bsConfig, browser: ["Firefox Developer Edition", "Firefox", "Google Chrome"] (This will launch all 3 of these browsers)

However, is there a way to add this from slate.config.js? I'm not great with Webpack yet and would like to avoid modifying the node_module folder.

Thanks

dungle-scrubs avatar Feb 20 '19 05:02 dungle-scrubs

Perhaps there's a way to do it via the webpack.extend?

josefarrugia avatar Jun 13 '19 11:06 josefarrugia