debian-mirror-gitlab/storybook/config/preview.js

16 lines
446 B
JavaScript
Raw Normal View History

2021-11-11 11:23:49 +05:30
// eslint-disable-next-line import/no-extraneous-dependencies
import Vue from 'vue';
import translateMixin from '../../app/assets/javascripts/vue_shared/translate';
2021-09-30 23:02:18 +05:30
const stylesheetsRequireCtx = require.context(
'../../app/assets/stylesheets',
true,
2021-11-11 11:23:49 +05:30
/(application|application_utilities)\.scss$/,
2021-09-30 23:02:18 +05:30
);
2021-11-11 11:23:49 +05:30
window.gon = {};
translateMixin(Vue);
2021-09-30 23:02:18 +05:30
stylesheetsRequireCtx('./application.scss');
2021-11-11 11:23:49 +05:30
stylesheetsRequireCtx('./application_utilities.scss');