tree: 6742d16a98d906b098193fe07cac90ab3f95756e [path history] [tgz]
  1. modules/
  2. pulito/
  3. html-webpack-inject-attributes-plugin.d.ts
  4. karma.common.ts
  5. karma.conf.ts
  6. Makefile
  7. package-lock.json
  8. package.json
  10. tsconfig.json
  11. 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.