From 6333f7dc2ffbc2b90385b5088c5ed8fa88706a8c Mon Sep 17 00:00:00 2001 From: Junho Baik Date: Sun, 30 Jun 2019 14:18:42 +0900 Subject: [PATCH] =?UTF-8?q?package=20=EC=97=85=EB=8D=B0=EC=9D=B4=ED=8A=B8?= =?UTF-8?q?=EC=97=90=20=EB=94=B0=EB=A5=B8=20=EC=98=A4=EB=A5=98=20=ED=95=B4?= =?UTF-8?q?=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit source-map 관련 버전, 의존성 오류로 보임. https://github.com/webpack-contrib/babel-minify-webpack-plugin/issues/68 gatsby에서 socurcemap을 비활성화하는 플러그인을 이용한 해결 https://github.com/gatsbyjs/gatsby/issues/3817 --- gatsby-config.js | 1 + package-lock.json | 5 +++++ package.json | 1 + 3 files changed, 7 insertions(+) diff --git a/gatsby-config.js b/gatsby-config.js index d4f64b124..e953aa994 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -74,5 +74,6 @@ module.exports = { trackingId: config.googleAnalyticsTrackingId, }, }, + 'gatsby-plugin-no-sourcemaps', ], }; diff --git a/package-lock.json b/package-lock.json index a69065eec..03206c9d5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7183,6 +7183,11 @@ "@babel/runtime": "^7.0.0" } }, + "gatsby-plugin-no-sourcemaps": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/gatsby-plugin-no-sourcemaps/-/gatsby-plugin-no-sourcemaps-2.1.0.tgz", + "integrity": "sha512-svVu27lQmPeJaV4igCbLO6aS4ag1Ljsb2VQAVKidBJIqD3QGUdjmDGA3lqkYhUIrKC2s1XJY5BIUJHJfuVqJTg==" + }, "gatsby-plugin-page-creator": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/gatsby-plugin-page-creator/-/gatsby-plugin-page-creator-2.1.1.tgz", diff --git a/package.json b/package.json index 2dc6c4b13..d7e17f3c8 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "disqus-react": "^1.0.6", "gatsby": "^2.11.5", "gatsby-plugin-google-analytics": "^2.1.1", + "gatsby-plugin-no-sourcemaps": "^2.1.0", "gatsby-plugin-react-helmet": "^3.1.0", "gatsby-plugin-react-svg": "^2.1.1", "gatsby-plugin-robots-txt": "^1.4.0",