Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'config/webpack.config.js')
-rw-r--r--config/webpack.config.js20
1 files changed, 7 insertions, 13 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js
index e3505ae47b8..39052d29287 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -224,6 +224,7 @@ const alias = {
test_fixtures_static: path.join(ROOT_PATH, 'spec/frontend/fixtures/static'),
test_helpers: path.join(ROOT_PATH, 'spec/frontend_integration/test_helpers'),
public: path.join(ROOT_PATH, 'public'),
+ storybook_addons: path.resolve(ROOT_PATH, 'storybook/config/addons'),
};
if (IS_EE) {
@@ -425,19 +426,12 @@ module.exports = {
{
test: /\.svg$/,
exclude: /icons\.svg$/,
- oneOf: [
- {
- resourceQuery: /url/,
- loader: 'file-loader',
- options: {
- name: '[name].[contenthash:8].[ext]',
- esModule: false,
- },
- },
- {
- loader: 'raw-loader',
- },
- ],
+ resourceQuery: /url/,
+ loader: 'file-loader',
+ options: {
+ name: '[name].[contenthash:8].[ext]',
+ esModule: false,
+ },
},
{
test: /\.(gif|png|mp4)$/,