Skip to content

Commit

Permalink
Include assets from "public/" directory
Browse files Browse the repository at this point in the history
Add a `copyPublicAssets` build flag used to determine whether files in
an optional `public/` directory should be copied to the output
directory.
  • Loading branch information
mwistrand committed Aug 7, 2018
1 parent 86d8f79 commit faddeac
Show file tree
Hide file tree
Showing 5 changed files with 3,005 additions and 2,938 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,10 @@ An array of paths to [CLDR JSON](https://github.com/dojo/i18n#loading-cldr-data)
}
```

#### `copyPublicAssets`: boolean

A boolean flag that indicates whether the `public/` directory should be copied to the output directory (`dev` and `dist` modes only). If the `public/` directory exists, it must be a sibling to the `src/` directory. Note that files are copied as-is and neither processed nor hashed. Defaults to `true`.

#### `features`: object

A map of [`has`](https://github.com/dojo/has/) features to boolean flags that can be used when building in `dist` mode to remove unneeded imports or conditional branches. See the [`static-build-loader`](https://github.com/dojo/webpack-contrib/#static-build-loader) documentation for more information.
Expand Down
Loading

0 comments on commit faddeac

Please sign in to comment.