@storybook/nextjs 7.0.7 → 7.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-YPQDI6HO.mjs +3 -1
- package/dist/font/webpack/loader/storybook-nextjs-font-loader.mjs +14 -7
- package/dist/index.d-a81f2015.d.ts +1198 -0
- package/dist/index.mjs +1 -0
- package/dist/next-image-loader-stub.mjs +7 -1
- package/dist/preset.d.ts +9 -1067
- package/dist/preset.js +1 -1
- package/dist/preview.d.ts +5 -3
- package/dist/preview.mjs +12 -1
- package/package.json +17 -18
- package/dist/preset.mjs +0 -1
package/dist/index.mjs
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
import{__commonJS}from
|
|
1
|
+
import { __commonJS } from './chunk-YPQDI6HO.mjs';
|
|
2
|
+
import { interpolateName } from 'loader-utils';
|
|
3
|
+
import imageSizeOf from 'image-size';
|
|
4
|
+
|
|
5
|
+
var require_next_image_loader_stub=__commonJS({"src/next-image-loader-stub.ts"(exports,module){var nextImageLoaderStub=function(content){let{filename}=this.getOptions(),outputPath=interpolateName(this,filename.replace("[ext]",".[ext]"),{context:this.rootContext,content});this.emitFile(outputPath,content);let{width,height}=imageSizeOf(this.resourcePath);return `export default ${JSON.stringify({src:outputPath,height,width,blurDataURL:outputPath})};`};nextImageLoaderStub.raw=!0;module.exports=nextImageLoaderStub;}});var nextImageLoaderStub = require_next_image_loader_stub();
|
|
6
|
+
|
|
7
|
+
export { nextImageLoaderStub as default };
|