예제 #1
0
        public void Init(HttpApplication app)
        {
            if (!app.Context.IsDebuggingEnabled)
            {
                return;
            }

            WebpackApplication.Initialize(app);
        }
예제 #2
0
        public WebpackHttpModule()
        {
            if (Options == null)
            {
                throw new InvalidOperationException($"{this.GetType()}: '{nameof(Options)}' property is null");
            }

            WebpackApplication.Activate();
        }