Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4115758
main.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
942 B
Referenced Files
None
Subscribers
None
main.js
View Options
const
path
=
require
(
"path"
);
const
webpack
=
require
(
"webpack"
);
module
.
exports
=
{
stories
:
[
'./stories/*.stories.js'
],
webpackFinal
:
async
(
config
,
{
configType
})
=>
{
config
.
module
.
rules
.
push
({
test
:
/\.less$/
,
use
:
[
'style-loader'
,
'css-loader'
,
{
loader
:
'less-loader'
,
options
:
{
paths
:
[
path
.
resolve
(
__dirname
,
'mocks'
)
]
}
}]
});
config
.
module
.
rules
.
push
({
test
:
/\.svg$/
,
issuer
:
/\.less$/
,
loader
:
'url-loader'
});
config
.
module
.
rules
.
push
({
test
:
/\.svg$/
,
loader
:
'svg-inline-loader'
,
issuer
:
/\.js$/
,
options
:
{
removeSVGTagAttrs
:
false
// Keep width and height attributes.
}
});
config
.
module
.
rules
.
push
({
test
:
/\.jpg$/
,
loader
:
'url-loader'
});
config
.
resolve
.
extensions
.
push
(
'.js'
);
config
.
plugins
.
push
(
new
webpack
.
ProvidePlugin
({
$
:
"jquery"
,
jQuery
:
"jquery"
})
);
return
config
;
}
};
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 19, 01:01 (1 w, 3 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
70/c5/bea9fcc060d2ad76ab0e377d6046
Default Alt Text
main.js (942 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment