Commit 633d5e0c authored by Enrique Alcantara's avatar Enrique Alcantara Committed by Tom Quirk

Slightly tweak storybook asset paths

And fix eslint errors.
parent b36f0adf
......@@ -360,4 +360,4 @@ compile-storybook:
expire_in: 31d
when: always
paths:
- public
- storybook/public
......@@ -14,9 +14,9 @@ pages:
- mv coverage/ public/coverage-ruby/ || true
- mv coverage-frontend/ public/coverage-frontend/ || true
- mv coverage-javascript/ public/coverage-javascript/ || true
- mv storybook/public public/storybook || true
- cp .public/assets/application-*.css public/application.css || true
- cp .public/assets/application-*.css.gz public/application.css.gz || true
- cp .public/storybook public/storybook || true
artifacts:
paths:
- public
......
/* eslint-disable import/no-unresolved, import/no-commonjs */
const stylesheetsRequireCtx = require.context(
'../../app/assets/stylesheets',
true,
......
/* eslint-disable no-param-reassign */
const { statSync } = require('fs');
const path = require('path');
const sass = require('node-sass');
const { buildIncludePaths, resolveGlobUrl } = require('node-sass-magic-importer/dist/toolbox');
const path = require('path');
const webpack = require('webpack');
const gitlabWebpackConfig = require('../../config/webpack.config.js');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment