ffbt
Version:
Build a Typescript app without pain
15 lines (14 loc) • 433 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const webpack = require("webpack");
const layer = (projectConfig) => {
return {
plugins: [
new webpack.DefinePlugin({
"FFBT_BUILD_VERSION": JSON.stringify(projectConfig.env.buildVersion),
"FFBT_ENV": JSON.stringify(projectConfig.env._name),
})
]
};
};
module.exports = layer;