This website requires JavaScript.
Explore
Help
Sign In
root
/
webpack
mirror of
https://github.com/webpack/webpack.git
Watch
1
Star
0
Fork
You've already forked webpack
0
Code
Issues
Actions
Packages
Projects
Releases
Wiki
Activity
1cab8f4fd6
webpack
/
test
/
configCases
/
output
/
string
/
test.config.js
6 lines
73 B
JavaScript
Raw
Normal View
History
Unescape
Escape
support functions for templated string config properties Any config property that accepts a templated string (e.g. '[name].js') can now accept a function that returns a templated string. ``` { output: { filename: () => '[name].js' } } ``` Closes #6098
2017-12-20 10:03:15 +08:00
module
.
exports
=
{
chore: fix eslint
2023-04-13 02:09:24 +08:00
findBundle
:
function
(
)
{
return
[
"./a.js"
]
;
support functions for templated string config properties Any config property that accepts a templated string (e.g. '[name].js') can now accept a function that returns a templated string. ``` { output: { filename: () => '[name].js' } } ``` Closes #6098
2017-12-20 10:03:15 +08:00
}
}
;