Skip to content

qred/babel-preset-qred

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

babel-preset-qred

Usage

1. Install babel

Run:

yarn -D babel-loader @babel/core

2. Configure babel

Create a file named .babelrc with the following contents in the root folder of your project:

{
  "presets": ["qred"]
}

3. Configure webpack

In your webpack.config.js add the following section:

module: {
  rules: [
    {
      test: /\.jsx?$/,
      exclude: /node_modules/,
      loader: "babel-loader"
    }
  ]
}

Releases

No releases published

Packages

No packages published