@preconstruct/hook
0.4.0
Minor Changes
cfe7d95
Thanks @mitchellhamilton! - Add no-op file to@preconstruct/hook
that will be imported by bundlers instead of the real require hook so that thepreconstruct dev
output will work in bundlers without a module build or bundler config changes(including for React Native's bundler, Metro)
0.3.0
Minor Changes
5ad1c73
Thanks @mitchellhamilton! - Correctly only compile files within the package directory in the require hook forpreconstruct dev
0.2.0
Minor Changes
b8d1906
Thanks @mitchellhamilton! - Only compile files within the package directory in the require hook forpreconstruct dev
0.1.0
Minor Changes
f02cce5
#163 Thanks @mitchellhamilton! - Remove automatic inclusion of@babel/plugin-transform-runtime
.Preconstruct no longer automatically includes
@babel/plugin-transform-runtime
to reduce confusion where code works when built with Preconstruct but fails if built using another tool which directly uses a project's Babel config. You should include@babel/plugin-transform-runtime
in your Babel config unless it is already included.{ "plugins": ["@babel/plugin-transform-runtime"] }
0.0.5
Patch Changes
- aefeb4f Thanks @mitchellhamilton! - Use TypeScript internally
0.0.4
Patch Changes
- 19d36a4 - Build preconstruct with preconstruct
0.0.3
Patch Changes
- 9efd990 - Fix source map support
0.0.2
Patch Changes
- aea0c36 - Only install source map support when the require hook is actually run
0.0.1
Patch Changes
- 698fe38 #53 Thanks @mitchellhamilton! - Move require hook into a package