<?xml version="1.0"?>
<registry>

  <records prefix="plone.resources/mockup-patterns-minimalpattern"
            interface='Products.CMFPlone.interfaces.IResourceRegistry'>
      <value key="js">++plone++minimalpattern/patterns/minimalpattern/pattern.js</value>
      <value key="css">
        <element>++plone++minimalpattern/patterns/minimalpattern/pattern.minimalpattern.less</element>
      </value>
  </records>

  <records prefix="plone.bundles/minimalpattern"
            interface='Products.CMFPlone.interfaces.IBundleRegistry'>
    <value key="resources">
      <element>mockup-patterns-minimalpattern</element>
      <element>mockup-patterns-select2</element>
    </value>
    <value key="depends">plone</value>
    <value key="enabled">True</value>
    <value key="compile">True</value>
  </records>


  <records
      remove="True"
      prefix="plone.resources/mockup-bundles-minimalpattern"
      interface='Products.CMFPlone.interfaces.IResourceRegistry'/>

</registry>

<?xml version="1.0"?>
<registry>

  <records prefix="plone.resources/mockup-patterns-minimalpattern"
            interface='Products.CMFPlone.interfaces.IResourceRegistry'>
      <value key="js">++plone++minimalpattern/patterns/minimalpattern/pattern.js</value>
      <value key="css">
        <element>++plone++minimalpattern/patterns/minimalpattern/pattern.minimalpattern.less</element>
      </value>
  </records>

  <records prefix="plone.resources/mockup-bundles-minimalpattern"
            interface='Products.CMFPlone.interfaces.IResourceRegistry'>
    <value key="js">++plone++minimalpattern/js/bundles/minimalpattern.js</value>
    <value key="css">
      <element>++plone++minimalpattern/less/minimalpattern.less</element>
    </value>
  </records>

  <records prefix="plone.bundles/minimalpattern"
            interface='Products.CMFPlone.interfaces.IBundleRegistry'>
    <value key="resources">
      <element>mockup-bundles-minimalpattern</element>
    </value>
    <value key="depends">plone</value>
    <value key="enabled">True</value>
    <value key="compile">True</value>
  </records>

</registry>

Revert "we don't need a bundle resource."
Revert "we don't need a bundle resource."

Oh - we need a bundle resource.
Two reasons: First we get an "Unmatched anonymous define" error when resource regsitry is in development mode.
Second, the pattern does nothing, becasue the resource registry DOESN'T add a``require`` statement on the rendered HTML, depending on all the bundle resources.

This reverts commit 8620a3839b2147a62dd4b6a832ea3fefbe42a8fe.
