Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to extend the default Webpack configuration #3

Open
koistya opened this issue Jul 25, 2016 · 2 comments
Open

Allow to extend the default Webpack configuration #3

koistya opened this issue Jul 25, 2016 · 2 comments

Comments

@koistya
Copy link
Member

koistya commented Jul 25, 2016

No description provided.

@koistya
Copy link
Member Author

koistya commented Aug 24, 2016

FYI, the latest preview version allows to customize the default Webpack configuration by putting config.js file in the root of your project tree with the content similar to this:

config.js
module.exports = {
  // Extend the default Webpack configuration
  webpack: config => {
    // For example, add one more entry point
    config.entry.push('./server.js');
    // Or, add one more loader
    config.module.loaders.push(...);
  },
};

For more information about what options are available in Webpack config visit https://webpack.github.io/docs/configuration.html

You can install the preview version by running:

$ npm install react-app@preview --save
$ npm install react-app-tools@preview --save-dev

The final version is on its way. Needs some more testing.

@chiqui3d
Copy link

chiqui3d commented Sep 9, 2016

Hello @koistya , first congratulations for this great contribution. And now I wonder if the master branch has been updated for edit webpack, or if there is another way to add sass to my project, I want to use bootstrap and my own modules made in sass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants