i'm trying understand context
parameter in webpack's config file.
in documentation, says this:
the base directory (absolute path!) resolving entry option. if output.pathinfo set, included pathinfo shortened directory.
for example in code,
var config = { context: __dirname + '/src', entry: ['./index.tsx'] }
is defining base directory entry points? in other words, assuming __dirname
c:\project\
, entry point c:\project\src\index.tsx
? i've tried, doesn't so.
the documentation mentioned if output.pathinfo
provided, "included pathinfo shortened directory." don't understand means "shortened". mean output.pathinfo
, context
same?
Comments
Post a Comment