Skip to content

Commit

Permalink
alasql addition and ignore in build
Browse files Browse the repository at this point in the history
  • Loading branch information
nofurtherinformation committed May 13, 2024
1 parent 933341a commit 628f1e2
Show file tree
Hide file tree
Showing 3 changed files with 1,693 additions and 589 deletions.
13 changes: 12 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import withBundleAnalyzer from "@next/bundle-analyzer"
import withPlugins from "next-compose-plugins"
import { env } from "./env.mjs"
import NodePolyFillPlugin from "node-polyfill-webpack-plugin"
import path from "path"

/**
* @type {import('next').NextConfig}
*/
Expand All @@ -11,6 +11,17 @@ const config = withPlugins([[new NodePolyFillPlugin(), withBundleAnalyzer({ enab
experimental: {
instrumentationHook: true,
},
typescript: {
ignoreBuildErrors: true,
},
webpack(config, { webpack, isServer }) {
config.plugins.push(
new webpack.IgnorePlugin({
resourceRegExp: isServer ? /(alasql|react-native-fs)/ : /react-native-fs/,
})
)
return config
}
// rewrites() {
// return [
// { source: "/healthz", destination: "/api/health" },
Expand Down
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
"@types/d3-scale": "^4.0.8",
"@types/mdx": "^2.0.11",
"@types/node-gzip": "^1.1.3",
"@types/pako": "^2.0.3",
"@types/papaparse": "^5.3.14",
"@types/tinycolor2": "^1.4.6",
"@vercel/otel": "^0.3.0",
Expand All @@ -86,13 +87,15 @@
"@visx/vendor": "^3.5.0",
"@visx/visx": "^3.10.2",
"@visx/xychart": "^3.10.2",
"alasql": "^4.3.3",
"apache-arrow": "^15.0.2",
"class-variance-authority": "^0.7.0",
"classnames": "^2.5.1",
"d3": "^7.8.5",
"d3-interpolate": "^3.0.1",
"d3-scale": "^4.0.2",
"deck.gl": "^8.9.34",
"dexie": "^4.0.4",
"gray-matter": "^4.0.3",
"http-server": "^14.1.1",
"lodash": "^4.17.21",
Expand All @@ -106,11 +109,14 @@
"node-fetch": "^3.3.2",
"node-gzip": "^1.1.2",
"node-polyfill-webpack-plugin": "^3.0.0",
"pako": "^2.1.0",
"papaparse": "^5.4.1",
"pmtiles": "^3.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-map-gl": "^7.1.7",
"react-native-fetch-blob": "0.7.5",
"react-native-fs": "^2.20.0",
"react-redux": "^9.1.0",
"rehype-stringify": "^10.0.0",
"remark-frontmatter": "^5.0.0",
Expand Down
Loading

0 comments on commit 628f1e2

Please sign in to comment.