diff --git a/package.json b/package.json index fdc5d4d..f5cf413 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,6 @@ "dependencies": { "nprogress": "^0.2.0", "octicons": "^7.1.0", - "pjax": "^0.2.4", "preact": "^8.2.6", "preact-portal": "^1.1.3" }, diff --git a/webpack.config.js b/webpack.config.js index c4be79e..fb31c6f 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -49,6 +49,7 @@ module.exports = { alias: { react: 'preact', // for svgr }, + modules: ['packages', 'node_modules'] }, module: { rules: [ diff --git a/yarn.lock b/yarn.lock index a52e263..b454fae 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3404,10 +3404,6 @@ pify@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176" -pjax@^0.2.4: - version "0.2.4" - resolved "https://registry.yarnpkg.com/pjax/-/pjax-0.2.4.tgz#0ae5885cfe663eb6a786156ed9c3de5bcb627513" - pkg-dir@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-2.0.0.tgz#f6d5d1109e19d63edf428e0bd57e12777615334b"