Skip to content

Commit

Permalink
Merge pull request #202 from bavix/revert-201-upgrade-rollup-plugin-i…
Browse files Browse the repository at this point in the history
…mport-css

Revert "upgrade rollup-plugin-import-css"
  • Loading branch information
rez1dent3 authored Sep 25, 2024
2 parents 71b5738 + 5c4e57f commit 17be3f0
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 33 deletions.
24 changes: 4 additions & 20 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"license": "MIT",
"dependencies": {
"@babel/core": "^7.25.2",
"@babel/plugin-syntax-import-attributes": "^7.25.6",
"@babel/preset-react": "^7.24.7",
"@creativebulma/bulma-tooltip": "^1.2.0",
"@rollup/plugin-alias": "^5.1.0",
Expand All @@ -46,7 +45,7 @@
"rollup": "^4.20.0",
"rollup-plugin-cleandir": "^2.0.0",
"rollup-plugin-generate-html-template": "^1.7.0",
"rollup-plugin-import-css": "^3.5.2",
"rollup-plugin-import-css": "^3.5.1",
"test": "^3.3.0",
"uuid": "^10.0.0"
}
Expand Down
2 changes: 0 additions & 2 deletions public/assets/bundle-BxAwWKX3.js

This file was deleted.

4 changes: 4 additions & 0 deletions public/assets/bundle-DCpmGsq2.css

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions public/assets/bundle-ZBpHc-Zf.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion public/assets/bundle-hWhajWIF.css

This file was deleted.

4 changes: 2 additions & 2 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<link rel="icon" type="image/png" sizes="32x32" href="./favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./favicon-16x16.png">
<link rel="manifest" href="./site.webmanifest">
<link rel="stylesheet" type="text/css" href="assets/bundle-hWhajWIF.css">
<link rel="stylesheet" type="text/css" href="assets/bundle-DCpmGsq2.css">
</head>
<body>
<div id="app"></div>
Expand Down Expand Up @@ -68,6 +68,6 @@

gtag('config', 'G-0E805HG8JN');
</script>
<script src="assets/bundle-BxAwWKX3.js"></script>
<script src="assets/bundle-ZBpHc-Zf.js"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default {
}),
babel({
presets: ["@babel/preset-react", "minify"],
plugins: ["@babel/plugin-transform-react-jsx", "@babel/plugin-syntax-import-attributes"],
plugins: ["@babel/plugin-transform-react-jsx"],
babelHelpers: 'bundled'
}),
alias({
Expand Down
6 changes: 3 additions & 3 deletions src/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import React from 'react'
import InputComponent, {Item} from "./input.jsx"
import HistoryComponent from "./history.jsx"
import NavComponent from './nav.jsx'
import '@creativebulma/bulma-tooltip/dist/bulma-tooltip.css' with { type: 'css' }
import 'bulma/css/bulma.css' with { type: 'css' }
import './app.css' with { type: 'css' }
import '@creativebulma/bulma-tooltip/dist/bulma-tooltip.css'
import 'bulma/css/bulma.css'
import './app.css'

export default class AppComponent extends React.Component {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/nav.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import "@theme-toggles/react/css/Expand.css" with { type: 'css' }
import "@theme-toggles/react/css/Expand.css"
import { Expand } from "@theme-toggles/react"
import { Helmet, HelmetProvider } from 'react-helmet-async';
import { v1, v4, v6, v7, NIL, MAX } from 'uuid';
Expand Down

0 comments on commit 17be3f0

Please sign in to comment.