# Configuration Options

All of Elixir's configuration is to support Webpack. Most of the custom changes you will make to Elixir will come through the `mergeConfig` method.

```javascript
const elixir = require("coldbox-elixir");

elixir.config.mergeConfig({});
```

The `mergeConfig` method will intelligently merge your new config with the existing Webpack config (thanks to [`webpack-merge`](https://github.com/survivejs/webpack-merge)).

There are a few additional config options on the Elixir object.

* `elixir.isProduction`
  * By default checks for the production flag from the terminal (`-p`)
* `elixir.rootPath`
  * The root of the project
* `elixir.config`
  * A configured instance of `ElixirConfig`
* `elixir.versioning`
  * Defaults to `elixir.isProduction`
* `elixir.base64SourceSize`
  * Defaults to 0. When configured as a number of bytes, any assets referenced in the CSS files you compile will be inlined as Base64 objects in your compiled output.  ( e.g. 1000000 = 1000kb )


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://coldbox-elixir.ortusbooks.com/configuration_options.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
