Skip to content

Commit 64f51cd

Browse files
committed
Merge branch 'release/1.0.6'
2 parents 5c53920 + 436b47d commit 64f51cd

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## 1.0.6 - 2021-06-01
6+
### Fixed
7+
* Fixed build of `dist/index.d.ts` to have the correct default export by sourcing `index.ts`
8+
59
## 1.0.5 - 2021-06-01
6-
### Changed
10+
### Fixed
711
* Fixed `respectExternal` setting
812

913
## 1.0.4 - 2021-06-01

dist/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,4 +174,4 @@ interface CriticalPluginConfig {
174174
*/
175175
declare function PluginCritical(pluginConfig: CriticalPluginConfig, callback?: Function): Plugin;
176176

177-
export { CriticalPages, CriticalPluginConfig, PluginCritical };
177+
export default PluginCritical;

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rollup-plugin-critical",
3-
"version": "1.0.5",
3+
"version": "1.0.6",
44
"description": "Rollup plugin to generate critical CSS.",
55
"author": "nystudio107",
66
"license": "MIT",

rollup.types.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import dts from 'rollup-plugin-dts';
44
* @type [import('rollup').RollupOptions]
55
*/
66
export default {
7-
input: './src/@types/rollup-plugin-critical.d.ts',
7+
input: './src/index.ts',
88
plugins: [dts()],
99
output: {
1010
file: './dist/index.d.ts',

0 commit comments

Comments
 (0)