Commit graph

7 commits

Author SHA1 Message Date
Martin Pitt
233b5cfe04 Use sassc instead of node-sass
node-sass is a compiled ELF module, which is problematic for
distributions that want to rebuild everything from source. The sassc CLI
program is packaged everywhere, and both use the same libsass library.

So drop node-sass and sass-loader, and replace it with a simple loader
wrapper around sassc.

This also saves 122 npm packages (16 MB in node_modules/).

Closes #382
2020-10-28 14:49:52 +01:00
Martin Pitt
ea1377da1c Travis: Move to Ubuntu 20.04 LTS 2020-10-28 14:49:52 +01:00
Martin Pitt
cbedf06704 Fix building PO template
The current version failed with

    Option "--directory" requires 1 arguments, but 0 were provided

In the current stdio npm module version, getopt() now requires a
`default:` attribute, otherwise it considers the options as required.

Also sync PO helpers with current cockpit.

Add PO template build to travis check, to make sure that it keeps
working.

Closes #375
2020-09-29 13:50:31 +03:00
Martin Pitt
e4dc9d7118 travis: Move to current LTS node.js
Version 8 is ancient and not supported any more, see
https://docs.travis-ci.com/user/languages/javascript-with-nodejs/

Newer versions of copy-webpack-plugin don't work any more with 8.
2020-09-28 07:49:01 +02:00
Katerina Koukiou
203604a463 Copy patternfly import files from cockpit project automatically
Closes #357
2020-09-08 17:14:34 +02:00
Martin Pitt
7aa26f19ad travis: Move to Ubuntu 20.04 LTS
Trusty, aka 14.04 LTS, is not officially supported any more.
2020-08-05 13:45:57 +02:00
Lars Karlitski
d616952c8c Add .travis.yml (#15) 2017-10-19 17:54:52 +02:00