@preconstruct/hook
0.4.0
Minor Changes
cfe7d95Thanks @mitchellhamilton! - Add no-op file to@preconstruct/hookthat will be imported by bundlers instead of the real require hook so that thepreconstruct devoutput will work in bundlers without a module build or bundler config changes(including for React Native's bundler, Metro)
0.3.0
Minor Changes
5ad1c73Thanks @mitchellhamilton! - Correctly only compile files within the package directory in the require hook forpreconstruct dev
0.2.0
Minor Changes
b8d1906Thanks @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-runtimeto 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-runtimein 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