3.1.0 • Published 4 years ago

done-css v3.1.0

Weekly downloads
92
License
MIT
Repository
github
Last release
4 years ago

done-css

Build Status npm version

A CSS plugin for DoneJS projects.

This is the normal Steal CSS plugin with a few DoneJS specific features like live-reload and server-side rendering included.

Install

To use this plugin in a DoneJS project just install it:

npm install done-css --save

Features

renderingCacheVersion

When server-side rendering with done-ssr and using the cache busting extension you need to specify the renderingCacheVersion property in your config. You might do so like this:

const ssr = require("done-ssr");

const render = ssr({
	renderingCacheVersion: 99
});

Doing this will result in the cache version number appearing in the server-rendered <link> elements.

Contributing

To setup your dev environment:

  1. Clone and fork this repo.
  2. Run npm install.
  3. Open test/test.html in your browser. Everything should pass.
  4. Run npm test. Everything should pass.
  5. Run npm run-script build. Everything should build ok. To publish:

  6. Update the version number in package.json

  7. Update the version number in test/live-ssr/index.html
  8. Commit and push this to master
  9. Tag it git tag v0.2.0. Push the tag git push origin --tags.

License

MIT

3.1.0

4 years ago

3.0.2

6 years ago

3.0.1

7 years ago

3.0.0

7 years ago

3.0.0-alpha.5

7 years ago

3.0.0-alpha.4

7 years ago

3.0.0-alpha.3

7 years ago

3.0.0-alpha.2

7 years ago

3.0.0-alpha.1

7 years ago

3.0.0-alpha.0

7 years ago

2.1.0-pre.0

8 years ago

2.0.3

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.1.16

8 years ago

1.1.15

9 years ago

1.1.14

9 years ago

1.1.13

9 years ago

1.1.12

9 years ago

1.1.11

9 years ago

1.1.10

9 years ago

1.1.9

9 years ago

1.1.8

9 years ago

1.1.7

9 years ago

1.1.6

9 years ago

1.1.5

9 years ago

1.1.4

9 years ago

1.1.3

9 years ago

1.1.2

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.0

9 years ago

0.0.12

9 years ago

0.0.11

9 years ago

0.0.10

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago