-
-
Notifications
You must be signed in to change notification settings - Fork 107
Closed
Labels
bugSomething isn't workingSomething isn't workingduplicateThis issue or pull request already existsThis issue or pull request already exists
Description
Describe the bug
After compiling, at the top of @npm/prop-types, there're
import require$$0 from '/@npm/react-is'; // sometime is wrong with "./@npm/react-is"
import require$$1 from './@npm/object-assign';the original prop-types.js file is:
var ReactIs = require('react-is');
var assign = require('object-assign');Then, './@npm/object-assign' is /@npm/@npm/object-assign, which is incorrect path.
object-assign required by prop-types required by react-helmet-async
To Reproduce
yarn create wmr & yarn add react-helmet-async
index.js
export function App() {
return (
<LocationProvider>
+ <HelmetProvider>
<div class="app">
<Header />
<ErrorBoundary>
<Router>
<Route path="/" component={Home} />
<Route path="/about" component={About} />
<Route default component={NotFound} />
</Router>
</ErrorBoundary>
</div>
+ </HelmetProvider>
</LocationProvider>
);
}Does anybody know how to fix this path?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingduplicateThis issue or pull request already existsThis issue or pull request already exists