In the root of your project, add .gitlab-ci.yml
with the configuration below.
image: node:latest
stages:
'use strict'; | |
const fs = require('fs'); | |
const path = require('path'); | |
const glob = require("glob"); | |
const webpack = require("webpack"); | |
const spawn = require('child_process').spawnSync; | |
const webpackConfigPartName = 'webpack.config.part.js'; |