@bundleup/nextjs 0.0.2 → 0.0.3
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/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -26,7 +26,7 @@ __export(src_exports, {
|
|
|
26
26
|
module.exports = __toCommonJS(src_exports);
|
|
27
27
|
var import_server = require("@bundleup/core/server");
|
|
28
28
|
var import_utils = require("@bundleup/core/utils");
|
|
29
|
-
function createConnection(options) {
|
|
29
|
+
async function createConnection(options) {
|
|
30
30
|
const bundleup = new import_server.BundleUp({
|
|
31
31
|
apiKey: options.apiKey ?? process.env.BUNDLEUP_API_KEY,
|
|
32
32
|
debug: options.debug ?? (0, import_utils.isTrue)(process.env.BUNDLEUP_DEBUG)
|
package/dist/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// src/index.ts
|
|
4
4
|
import { BundleUp } from "@bundleup/core/server";
|
|
5
5
|
import { isTrue } from "@bundleup/core/utils";
|
|
6
|
-
function createConnection(options) {
|
|
6
|
+
async function createConnection(options) {
|
|
7
7
|
const bundleup = new BundleUp({
|
|
8
8
|
apiKey: options.apiKey ?? process.env.BUNDLEUP_API_KEY,
|
|
9
9
|
debug: options.debug ?? isTrue(process.env.BUNDLEUP_DEBUG)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bundleup/nextjs",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "BundleUp plugin for Next.js applications",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"clean": "rm -rf dist"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@bundleup/core": "0.0.
|
|
29
|
-
"@bundleup/react": "0.0.
|
|
28
|
+
"@bundleup/core": "0.0.3",
|
|
29
|
+
"@bundleup/react": "0.0.3"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"next": ">=13.0.0"
|