Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F969299
webpack.config.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
577 B
Referenced Files
None
Subscribers
None
webpack.config.js
View Options
const
path
=
require
(
"path"
);
module
.
exports
=
[
{
name
:
"front-end-components"
,
entry
:
{
bundle
:
"./src/front/index.ts"
,
},
output
:
{
filename
:
"[name].js"
,
path
:
path
.
resolve
(
__dirname
,
"public/dist"
),
},
mode
:
"production"
,
devtool
:
"source-map"
,
resolve
:
{
extensions
:
[
".ts"
,
".js"
],
},
module
:
{
rules
:
[
{
test
:
/\.js$/
,
exclude
:
[
/node_modules/
],
use
:
[{
loader
:
"babel-loader"
}],
},
{
test
:
/\.ts$/
,
exclude
:
[
/node_modules/
],
use
:
[{
loader
:
"ts-loader"
}],
},
],
},
},
];
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Nov 22, 12:00 (6 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
547700
Default Alt Text
webpack.config.js (577 B)
Attached To
Mode
rPHOTOAPP photo-app-demo
Attached
Detach File
Event Timeline
Log In to Comment