1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/test/integration/babel/pages/index.js
Logan Smyth 2495316235 Use custom Babel loader to avoid using separate Babel copies for loader and loader options (#4417)
This resolves the

> .value is not a valid Plugin property

error showing up for people in https://github.com/zeit/next.js/issues/4227

cc @timneutkens
2018-05-23 20:26:57 +02:00

11 lines
244 B
JavaScript

// This page is written in flowtype to test Babel's functionality
import * as React from 'react'
type Props = {}
export default class MyComponent extends React.Component<Props> {
render () {
return <div id='text'>Test Babel</div>
}
}