Skip to content

Commit

Permalink
fix(module): back to extracting css
Browse files Browse the repository at this point in the history
faster; ssr; etc.
  • Loading branch information
rob-gordon committed Feb 27, 2021
1 parent 0584a31 commit 9540cf2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 1 addition & 0 deletions docs/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import "../styles/globals.css";
import "../styles/slang.css";
import "@tone-row/slang/build/index.css";
import DocsLayout from "../components/DocsLayout";

function MyApp({ Component, pageProps }) {
Expand Down
2 changes: 1 addition & 1 deletion slang/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default [
plugins: [
peerDepsExternal(),
postcss({
extract: false,
extract: true,
autoModules: true,
use: ["sass"],
}),
Expand Down
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -943,11 +943,6 @@
dependencies:
"@sinonjs/commons" "^1.7.0"

"@tone-row/slang@^1.2.28":
version "1.2.28"
resolved "https://registry.yarnpkg.com/@tone-row/slang/-/slang-1.2.28.tgz#3e81b7b5c049eee8bee3dd413fe86ae1bb9f0cb1"
integrity sha512-CGp38kMc0KapppSOHwrMENC3pV4oLc+QAtnjyWQUcSEC67Cnc5lEMUmsJ90rNYMe6HPix0UCqoz2JUO1zGCfQA==

"@tootallnate/once@1":
version "1.1.2"
resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82"
Expand Down

1 comment on commit 9540cf2

@vercel
Copy link

@vercel vercel bot commented on 9540cf2 Feb 27, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.