UNPKG

@resin/pinejs

Version:

Pine.js is a sophisticated rules-driven API engine that enables you to define rules in a structured subset of English. Those rules are used in order for Pine.js to generate a database schema and the associated [OData](http://www.odata.org/) API. This make

18 lines (14 loc) 514 B
import * as webpack from 'webpack'; import sharedConfig = require('./config'); const config = { ...sharedConfig }; config.entry += '/src/server-glue/module'; config.plugins = config.plugins.concat( new webpack.DefinePlugin({ 'process.browser': false, 'process.env.CONFIG_LOADER_DISABLED': false, 'process.env.SBVR_SERVER_ENABLED': false, }), // When we're compiling the module build we want to always ignore the server build file new webpack.IgnorePlugin(/server/, /server-glue/), ); export = config;