Unverified Commit 124dee40 authored by Christopher Guindon's avatar Christopher Guindon 🌴 Committed by GitHub
Browse files

fix cc for ie11 (#182)



* fix cc for ie11
Signed-off-by: Christopher Guindon's avatarChristopher Guindon <chris.guindon@eclipse-foundation.org>

* fix cc for ie11
Signed-off-by: Christopher Guindon's avatarChristopher Guindon <chris.guindon@eclipse-foundation.org>
parent 0a53b271
// @see https://github.com/gsoft-inc/craco/blob/master/packages/craco/README.md#configuration-file
require('@craco/craco');
module.exports = {
babel: {
plugins: [
'@babel/plugin-proposal-class-properties',
'@babel/proposal-object-rest-spread',
],
},
webpack: {
configure: {
resolve: {
alias: {
jquery: 'jquery/src/jquery',
},
},
},
},
};
......@@ -3,6 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@craco/craco": "^6.2.0",
"@material-ui/core": "^4.11.4",
"@material-ui/icons": "^4.11.2",
"@material-ui/lab": "^4.0.0-alpha.58",
......@@ -15,6 +16,7 @@
"@types/react-dom": "^17.0.5",
"concurrently": "^6.1.0",
"country-list": "^2.2.0",
"eclipsefdn-solstice-assets": "^0.0.162",
"formik": "^2.2.6",
"less-watch-compiler": "^1.15.1",
"react": "^17.0.0",
......@@ -27,10 +29,10 @@
"web-vitals": "^1.1.2"
},
"scripts": {
"start": "concurrently --kill-others \"less-watch-compiler\" \"react-scripts start\"",
"build": "lessc src/less/App.less src/App.css && react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"start": "concurrently --kill-others \"less-watch-compiler\" \"craco start\"",
"build": "lessc src/less/App.less src/App.css && craco build",
"test": "craco test",
"eject": "craco eject",
"test-spec": "swagger-repo validate -b ../../../spec",
"start-spec": "swagger-repo serve -b ../../../spec -p 8999",
"generate-json-schema": "node src/openapi2schema.js -s ../../../spec/openapi.yaml -t ../../test/resources"
......
......@@ -89,7 +89,5 @@
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!-- Placed at the end of the document so the pages load faster -->
<script src="//eclipse.org/eclipse.org-common/themes/solstice/public/javascript/main.min.js?var=1.9"></script>
</body>
</html>
import 'eclipsefdn-solstice-assets/js/ga'
import 'eclipsefdn-solstice-assets/js/privacy'
export default function Portal() {
return (
<div>
......
import AppFooter from './AppFooter';
import AppHeader from './AppHeader';
import 'eclipsefdn-solstice-assets'
const AppTemplate = (props) => {
return (
<>
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment