Skip to content

Instantly share code, notes, and snippets.

@hach-que
Created December 15, 2017 05:33
Show Gist options
  • Save hach-que/3f25121017afe9cb4bd72949b37d740b to your computer and use it in GitHub Desktop.
Save hach-que/3f25121017afe9cb4bd72949b37d740b to your computer and use it in GitHub Desktop.
// Instructs WebPack to bundle up skin assets alongside TinyMCE. See:
// https://www.tinymce.com/docs/advanced/usage-with-module-loaders/#webpackfile-loader
(require as any).context(
'file-loader?name=[path][name].[ext]&outputPath=assets/&context=node_modules/tinymce!tinymce/skins',
true,
/.*/
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment