babel / babel/babel-loader

Support for react-hot-loader

Open
#842 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4.8k
Forks
456
Avg merge
9h 19m
Merged PRs (30d)
2

Description

Babel.transform(code, {
presets: ['es2015', 'react'],
plugins: [['proposal-decorators', { legacy: true }], ['proposal-class-properties', { loose: true }], 'react-hot-loader/babel']
})

![image](https://user-images.githubusercontent.com/8551885/80076098-3d5b7980-857e-11ea-9982-4c39159511b4.png)

Contributor guide

Open the contributing guide

Research direction

The issue only provides a Babel.transform configuration using React and react-hot-loader/babel, with no repository files or tests named. Start by locating babel-loader's transform/configuration entry point and existing plugin handling, then define the expected behavior and a regression test before determining what done means.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react, webpack
Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.