fixed build by changing it to webpack (#50)

This commit is contained in:
Erik Jan de Wit 2020-09-01 14:21:47 +02:00 committed by GitHub
parent e87b24d07d
commit 3959d2c47e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 714 additions and 928 deletions

View file

@ -1,3 +1,4 @@
{
"extends": "@snowpack/app-scripts-react/babel.config.json"
"extends": "@snowpack/app-scripts-react/babel.config.json",
"plugins": ["@babel/plugin-proposal-class-properties"]
}

View file

@ -31,8 +31,8 @@
"devDependencies": {
"@babel/core": "^7.10.5",
"@babel/preset-typescript": "^7.10.4",
"@snowpack/app-scripts-react": "^1.4.0",
"@snowpack/plugin-parcel": "^1.3.0",
"@snowpack/app-scripts-react": "^1.10.0",
"@snowpack/plugin-webpack": "^2.0.6",
"@storybook/addon-actions": "^5.3.19",
"@storybook/addon-info": "^5.3.19",
"@storybook/addon-links": "^5.3.19",
@ -41,10 +41,12 @@
"@testing-library/jest-dom": "^5.11.0",
"@testing-library/react": "^10.4.6",
"@types/dot": "^1.1.4",
"@types/enzyme": "^3.10.5",
"@types/jest": "^26.0.4",
"@types/react": "^16.9.23",
"@types/react-dom": "^16.9.5",
"@types/react-router-dom": "^5.1.5",
"@types/snowpack-env": "^2.3.0",
"@typescript-eslint/eslint-plugin": "^3.8.0",
"@typescript-eslint/parser": "^3.8.0",
"babel-loader": "^8.1.0",
@ -64,7 +66,7 @@
"postcss-import": "^12.0.1",
"prettier": "^2.0.5",
"react-scripts": "^3.4.1",
"snowpack": "^2.6.4",
"snowpack": "^2.10.0",
"typescript": "^3.8.3"
}
}

View file

@ -6,6 +6,6 @@ module.exports = {
"proxy": {
"/admin": process.env.BACKEND_URL
},
"plugins": ["@snowpack/plugin-parcel"]
"plugins": ["@snowpack/plugin-webpack"]
}

1629
yarn.lock

File diff suppressed because it is too large Load diff