We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 369b28b commit ed94252Copy full SHA for ed94252
bin/index.js
@@ -38,6 +38,11 @@ if (!babelLoaders.length) {
38
`missing Babel config in webpack config: ${webpackConfigPath}`
39
);
40
}
41
+// include our own compatibility helper functions in the babel transpilation
42
+babelLoaders[0].include = [].concat(
43
+ babelLoaders[0].include,
44
+ require.resolve("cra-hyperapp")
45
+);
46
const babelOptions = babelLoaders[0].options;
47
48
// override ESLint rules to allow using JSX with Hyperapp
0 commit comments