-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
My config looks like this:
poco(
".",
[
"../../Entities/*.cs"
],
{
defaults: {
classEmitOptions: {
perClassEmitOptions: (classObject) => {
name: "I" + classObject.name,
inheritedTypeEmitOptions: {
mapper: (type, suggested) => 'I' + suggested
}
}
},
enumEmitOptions: {
declare: false
},
propertyEmitOptions: {
perPropertyEmitOptions: (property) => {
name: property.name;
}
}
},
file: {
}
}
)
]
webpack chokes on the perClassEmitOptions with:
webpack-typings.config.js:53
inheritedTypeEmitOptions: {
^
SyntaxError: Unexpected token :
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:616:28)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at requireConfig (\node_modules\webpack\bin\convert-argv.js:97:18)
Any ideas?
Metadata
Metadata
Assignees
Labels
No labels