tree: 15fda77b542c5c655e5477d9bddc0cdb81f2dda3 [path history] [tgz]
  1. generate_elements_sk_scss_imports/
  2. go/
  3. html_insert_nonce_attribute/
  4. karma_test/
  5. modules/
  6. pulito/
  7. sk_demo_page_server/
  8. BUILD.bazel
  9. html-webpack-inject-attributes-plugin.d.ts
  10. index.bzl
  11. karma.common.ts
  12. karma.conf.ts
  13. Makefile
  15. rollup.config.js
  16. themes.scss
  17. ts_library.bzl
  18. tsconfig.json
  19. webpack.config.ts

This is the common set of custom elements used by Skia Infrastructure. It is built on common-sk and elements-sk using pulito

There is documentation for each element.


To use this library you should add the following to your webpack config:

const { resolve } = require('path')

module.exports = (env, argv) => {
  let config = commonBuilder(env, argv, __dirname);
  config.resolve = config.resolve || {};
  config.resolve.modules = [resolve(__dirname, 'node_modules')];
  return config;

This change forces module resolution to happen only in the directory where the project's webpack.config.js sits, i.e. the node_modules directory under infra_sk will be ignored, which means that all dependencies for infra-sk have to exist in the projects package.json file.


This is not an officially supported Google product.