PHPackages                             sunnysideup/sswebpack\_engine\_only - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. sunnysideup/sswebpack\_engine\_only

ActiveSilverstripe-theme[Utility &amp; Helpers](/categories/utility)

sunnysideup/sswebpack\_engine\_only
===================================

Webpack engine for Silverstripe without any theme at all. Use this with any theme / module you are building. You can also use it without SilverStripe at all.

18.0.6(6d ago)33.7k↑42.9%220BSD-3-ClauseJavaScript

Since Aug 28Pushed 6d ago3 watchersCompare

[ Source](https://github.com/sunnysideup/silverstripe-sswebpack_engine_only)[ Packagist](https://packagist.org/packages/sunnysideup/sswebpack_engine_only)[ RSS](/packages/sunnysideup-sswebpack-engine-only/feed)WikiDiscussions main Synced yesterday

READMEChangelog (5)DependenciesVersions (88)Used By (20)

Base SilverStripe theme with a webpack build system
===================================================

[](#base-silverstripe-theme-with-a-webpack-build-system)

This webpack install allows you to compile any project / vendor/package.

It uses [symphony encore](https://www.npmjs.com/package/@symfony/webpack-encore) to make it fly!

Installation
------------

[](#installation)

- Install this to your themes folder as `sswebpack_engine_only` (composer should do this automatically)
- Make sure you are on the latest version of node and npm (you could use nvm for this).
- run `npm install` in the root folder of module.
- See the [`examples-from-root-of-project`](https://github.com/sunnysideup/silverstripe-sswebpack_engine_only/blob/master/examples-from-root-of-project) folder for the files you need to create.
- Expose the dist folder in the public resources folder, using composer, as per usual.
- Browse to the root folder of this module and use the following commands:

Usage
=====

[](#usage)

```
npm run MY_COMMAND --theme_dir=themes/mytheme`

```

OR

```
npm run MY_COMMAND --theme_dir=vendor/myvendor/mypackage/client`

```

Where MY\_COMMAND can be

- `dev` (debug),
- `watch` (develop), or
- `build` (prepare for production).

Good to know
============

[](#good-to-know)

### required structure

[](#required-structure)

- Your theme name can be anything. We use `mytheme` as an example name. You can also use this webpack on vendor packages.
- the `main.js` and `style.scss` show you to include JS and CSS from other parts.
- Add a `themes/mytheme/dist` folder for the final output.
- Add a `themes/mytheme/my_node_modules/` to include other modules (using a package.json file inside that folder). You can also include node modules in `mytheme/src` by adding a `package.json` file, i.e. running `npm init -y && npm install` in the `mytheme/src` folder.

### jQuery

[](#jquery)

- jQuery has been aliased so that you can use jQuery anywhere without importing it.
- jQuery can also be added to the global namespace: `window.jQuery = jquery` (untested).

### Editor File

[](#editor-file)

- There is an option to also include an editor file so that you can add it to your TinyMCE HTML Editor. Run the watch / build command you will see the configurations available.

### including the build files:

[](#including-the-build-files)

Here is how to include the files efficiently:

1. add `sunnysideup/webpack_requirements_backend:dev-master` using composer
2. check out its documentation on how to add the required files.

###  Health Score

60

—

FairBetter than 98% of packages

Maintenance98

Actively maintained with recent releases

Popularity25

Limited adoption so far

Community31

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor1

Top contributor holds 90.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~40 days

Recently: every ~6 days

Total

81

Last Release

6d ago

Major Versions

14.4.2 → 15.0.02025-01-01

15.0.0 → 16.0.02025-01-03

16.0.2 → 17.0.02025-01-15

6.x-dev → 18.0.02026-04-28

5.x-dev → 18.0.42026-06-07

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/167154?v=4)[Sunny Side Up](/maintainers/sunnysideup)[@sunnysideup](https://github.com/sunnysideup)

---

Top Contributors

[![sunnysideup](https://avatars.githubusercontent.com/u/167154?v=4)](https://github.com/sunnysideup "sunnysideup (347 commits)")[![a2nt](https://avatars.githubusercontent.com/u/672794?v=4)](https://github.com/a2nt "a2nt (14 commits)")[![LABCAT](https://avatars.githubusercontent.com/u/9105153?v=4)](https://github.com/LABCAT "LABCAT (8 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (7 commits)")[![sunnysideupdevs](https://avatars.githubusercontent.com/u/20271919?v=4)](https://github.com/sunnysideupdevs "sunnysideupdevs (6 commits)")[![snyk-bot](https://avatars.githubusercontent.com/u/19733683?v=4)](https://github.com/snyk-bot "snyk-bot (1 commits)")[![anoof-ssu](https://avatars.githubusercontent.com/u/211270832?v=4)](https://github.com/anoof-ssu "anoof-ssu (1 commits)")

---

Tags

silverstripecmsSilverstripe-CMSwebpackfront-end frameworkwebpack themesilverstripe webpackblank theme

### Embed Badge

![Health badge](/badges/sunnysideup-sswebpack-engine-only/health.svg)

```
[![Health](https://phpackages.com/badges/sunnysideup-sswebpack-engine-only/health.svg)](https://phpackages.com/packages/sunnysideup-sswebpack-engine-only)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
