mirror of
https://github.com/jambonz/next-static-site.git
synced 2025-12-19 04:47:44 +00:00
with preact -- remove package-lock.json...
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
module.exports = {
|
const withPreact = require('next-plugin-preact');
|
||||||
|
|
||||||
|
module.exports = withPreact({
|
||||||
trailingSlash: true,
|
trailingSlash: true,
|
||||||
};
|
});
|
||||||
|
|||||||
12675
package-lock.json
generated
12675
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
10
package.json
10
package.json
@@ -20,10 +20,14 @@
|
|||||||
"classnames": "^2.2.6",
|
"classnames": "^2.2.6",
|
||||||
"nanoid": "^3.1.22",
|
"nanoid": "^3.1.22",
|
||||||
"next": "^12.1.4",
|
"next": "^12.1.4",
|
||||||
|
"next-plugin-preact": "^3.0.6",
|
||||||
|
"preact": "^10.7.2",
|
||||||
|
"preact-render-to-string": "^5.2.0",
|
||||||
"prismjs": "^1.23.0",
|
"prismjs": "^1.23.0",
|
||||||
"react": "^17.0.1",
|
"react": "npm:@preact/compat",
|
||||||
"react-dom": "^17.0.1",
|
"react-dom": "npm:@preact/compat",
|
||||||
"react-feather": "^2.0.9"
|
"react-feather": "^2.0.9",
|
||||||
|
"react-ssr-prepass": "npm:preact-ssr-prepass"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"babel-eslint": "^10.1.0",
|
"babel-eslint": "^10.1.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user