This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
extract-react-types-loader@1.0.0
Major Changes
1ec5f76#196 Thanks @marionebl! - Remove Atlaskit specific process.env switches (#195)
BREAKING CHANGE
This removes the previously available process.env switches to conditionally disable the loader.
To restore the previous behaviour you'll have to use the resolveLoader webpack config, e.g.
// noop-extract-react-types-loader.js
module.exports = function noopExtractReactPropTypesLoader() {
return `module.exports = {
component: {
kind: 'object',
members: [
{
kind: 'property',
key: { kind: 'id', name: 'Warning' },
value: { kind: 'any' },
optional: false,
leadingComments: [
{
type: 'commentBlock',
value: `extract-react-types is not being run in dev mode for speed reasons. If you need to
see prop types add the environment variable \`FORCE_EXTRACT_REACT_TYPES\`
raw: '**'
}
],
default: {
kind: 'string',
value: 'Prop types are not shown in dev mode'
}
}
],
referenceIdName: 'NoopPropTpes'
}
};`
}
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
extract-react-types-loader@1.0.0
Major Changes
1ec5f76
#196 Thanks @marionebl! - Remove Atlaskit specific process.env switches (#195)BREAKING CHANGE This removes the previously available process.env switches to conditionally disable the loader. To restore the previous behaviour you'll have to use the
resolveLoader
webpack config, e.g.