Gathering detailed insights and metrics for next-plugin-graphql-let
Gathering detailed insights and metrics for next-plugin-graphql-let
Gathering detailed insights and metrics for next-plugin-graphql-let
Gathering detailed insights and metrics for next-plugin-graphql-let
Automatically configures webpack for graphql-let usage in Next.js.
npm install next-plugin-graphql-let
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
7 Commits
1 Watchers
1 Branches
1 Contributors
Updated on Jan 28, 2023
Latest Version
1.0.1
Package Id
next-plugin-graphql-let@1.0.1
Unpacked Size
5.33 kB
Size
2.18 kB
File Count
5
NPM Version
7.15.1
Node Version
16.3.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
2
1
Automatically configures webpack for graphql-let usage in Next.js.
1npm install next-plugin-graphql-let
1// in next.config.js
2const createNextPluginGraphQLLet = require("next-plugin-graphql-let")
3
4const withNextPluginGraphQLLet = createNextPluginGraphQLLet()
5
6module.exports = withNextPluginGraphQLLet({
7 // next.js configuration
8})
1const createNextPluginGraphQLLet = require("next-plugin-graphql-let")
2
3const withNextPluginGraphQLLet = createNextPluginGraphQLLet()
4
5module.exports = withNextPluginGraphQLLet({
6 typescript: {
7 ignoreBuildErrors: true,
8 },
9 images: {
10 domains: ["avatars.githubusercontent.com"],
11 },
12 webpack(config, options) {
13 config.module.rules.push({
14 test: /\.ya?ml$/,
15 type: "json",
16 use: "yaml-loader",
17 })
18
19 return config
20 },
21})
You can use loader
to change webpack settings for the rule that uses graphql-let/loader
(regular GraphQL files) and schemaLoader
to change webpack settings for the rule that uses graphql-let/schema/loader
(GraphQL schema files) on:
1// in next.config.js
2const createNextPluginGraphQLLet = require("next-plugin-graphql-let")
3
4// these are the default tests
5const withNextPluginGraphQLLet = createNextPluginGraphQLLet({
6 loader: {
7 test: /\.graphql$/,
8 },
9 schemaLoader: {
10 test: /\.graphqls$/,
11 },
12})
13
14module.exports = withNextPluginGraphQLLet({
15 // next.js configuration
16})
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
project is archived
Details
Reason
no SAST tool detected
Details
Reason
Found 0/7 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
security policy file not detected
Details
Reason
47 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More