Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
949b5fa2
Commit
949b5fa2
authored
Jun 30, 2021
by
Vitaly Slobodin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove redundant .js extension from imports
parent
df3a9aa8
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
config/karma.config.js
config/karma.config.js
+1
-1
config/webpack.config.js
config/webpack.config.js
+1
-1
scripts/frontend/extract_gettext_all.js
scripts/frontend/extract_gettext_all.js
+1
-1
scripts/frontend/stylelint/stylelint-utility-classes.js
scripts/frontend/stylelint/stylelint-utility-classes.js
+1
-1
spec/javascripts/lib/utils/mock_data.js
spec/javascripts/lib/utils/mock_data.js
+1
-1
storybook/config/webpack.config.js
storybook/config/webpack.config.js
+1
-1
No files found.
config/karma.config.js
View file @
949b5fa2
...
@@ -5,7 +5,7 @@ const argumentsParser = require('commander');
...
@@ -5,7 +5,7 @@ const argumentsParser = require('commander');
const
glob
=
require
(
'
glob
'
);
const
glob
=
require
(
'
glob
'
);
const
webpack
=
require
(
'
webpack
'
);
const
webpack
=
require
(
'
webpack
'
);
const
IS_EE
=
require
(
'
./helpers/is_ee_env
'
);
const
IS_EE
=
require
(
'
./helpers/is_ee_env
'
);
const
webpackConfig
=
require
(
'
./webpack.config
.js
'
);
const
webpackConfig
=
require
(
'
./webpack.config
'
);
const
ROOT_PATH
=
path
.
resolve
(
__dirname
,
'
..
'
);
const
ROOT_PATH
=
path
.
resolve
(
__dirname
,
'
..
'
);
const
SPECS_PATH
=
/^
(?:\.[\\/])?(
ee
[\\/])?
spec
[\\/]
javascripts
[\\/]
/
;
const
SPECS_PATH
=
/^
(?:\.[\\/])?(
ee
[\\/])?
spec
[\\/]
javascripts
[\\/]
/
;
...
...
config/webpack.config.js
View file @
949b5fa2
...
@@ -422,7 +422,7 @@ module.exports = {
...
@@ -422,7 +422,7 @@ module.exports = {
);
);
// eslint-disable-next-line global-require
// eslint-disable-next-line global-require
const
dllConfig
=
require
(
'
./webpack.vendor.config
.js
'
);
const
dllConfig
=
require
(
'
./webpack.vendor.config
'
);
const
dllCompiler
=
webpack
(
dllConfig
);
const
dllCompiler
=
webpack
(
dllConfig
);
dllCompiler
.
run
((
err
,
stats
)
=>
{
dllCompiler
.
run
((
err
,
stats
)
=>
{
...
...
scripts/frontend/extract_gettext_all.js
View file @
949b5fa2
...
@@ -6,7 +6,7 @@ const {
...
@@ -6,7 +6,7 @@ const {
decorateExtractorWithHelpers
,
decorateExtractorWithHelpers
,
}
=
require
(
'
gettext-extractor-vue
'
);
}
=
require
(
'
gettext-extractor-vue
'
);
const
vue2TemplateCompiler
=
require
(
'
vue-template-compiler
'
);
const
vue2TemplateCompiler
=
require
(
'
vue-template-compiler
'
);
const
ensureSingleLine
=
require
(
'
../../app/assets/javascripts/locale/ensure_single_line
.js
'
);
const
ensureSingleLine
=
require
(
'
../../app/assets/javascripts/locale/ensure_single_line
'
);
const
args
=
argumentsParser
const
args
=
argumentsParser
.
option
(
'
-f, --file <file>
'
,
'
Extract message from one single file
'
)
.
option
(
'
-f, --file <file>
'
,
'
Extract message from one single file
'
)
...
...
scripts/frontend/stylelint/stylelint-utility-classes.js
View file @
949b5fa2
const
stylelint
=
require
(
'
stylelint
'
);
const
stylelint
=
require
(
'
stylelint
'
);
const
utils
=
require
(
'
./stylelint-utils
'
);
const
utils
=
require
(
'
./stylelint-utils
'
);
const
utilityClasses
=
require
(
'
./utility-classes-map
.js
'
);
const
utilityClasses
=
require
(
'
./utility-classes-map
'
);
const
ruleName
=
'
stylelint-gitlab/utility-classes
'
;
const
ruleName
=
'
stylelint-gitlab/utility-classes
'
;
...
...
spec/javascripts/lib/utils/mock_data.js
View file @
949b5fa2
export
*
from
'
../../../frontend/lib/utils/mock_data
.js
'
;
export
*
from
'
../../../frontend/lib/utils/mock_data
'
;
storybook/config/webpack.config.js
View file @
949b5fa2
...
@@ -5,7 +5,7 @@ const path = require('path');
...
@@ -5,7 +5,7 @@ const path = require('path');
const
sass
=
require
(
'
node-sass
'
);
// eslint-disable-line import/no-unresolved
const
sass
=
require
(
'
node-sass
'
);
// eslint-disable-line import/no-unresolved
const
{
buildIncludePaths
,
resolveGlobUrl
}
=
require
(
'
node-sass-magic-importer/dist/toolbox
'
);
// eslint-disable-line import/no-unresolved
const
{
buildIncludePaths
,
resolveGlobUrl
}
=
require
(
'
node-sass-magic-importer/dist/toolbox
'
);
// eslint-disable-line import/no-unresolved
const
webpack
=
require
(
'
webpack
'
);
const
webpack
=
require
(
'
webpack
'
);
const
gitlabWebpackConfig
=
require
(
'
../../config/webpack.config
.js
'
);
const
gitlabWebpackConfig
=
require
(
'
../../config/webpack.config
'
);
const
ROOT
=
path
.
resolve
(
__dirname
,
'
../../
'
);
const
ROOT
=
path
.
resolve
(
__dirname
,
'
../../
'
);
const
TRANSPARENT_1X1_PNG
=
const
TRANSPARENT_1X1_PNG
=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment